Server :: Opensuse Apache Connection - Unable To View Website From Outside The Local Network
Jan 29, 2011
I am running opensuse with LAMP, and this is my first time setting up this type of server (usually am a windows junkie) My problem i am having is that I am unable to view my website from outside the local network. I have setup my router for a dynamic dns and forwarded all the ports through the router and the local firewall. I ran the apache setup through YAST2 and everything seems fine locally but when i attempt to access it elsewhere its not connecting. computechsolutions.dyndns.biz is the dynamic dns address i have setup through my router.
I am trying to host a local website(an wiki application) within a network. Is it necessary that all the files I need to upload should be in the var/www?
I run a gaming clan forum on IPBFree. By all accounts the servers are Down, permanently. Taking with them 2 years of my Clans Forum posts. I was wondering if maybe Firefox or Chrome keep some sort of local Cache on the HD that i can try and salvage as much data as possible from.
I'm trying to set up a small Intranet system to run OpenERP or similar using browser-based clients. I have an Ubuntu machine running 10.04 desktop edition to act as a temporary/testing server until we set up a proper, dedicated machine with 10.04 server edition. I have installed Apache2 from the repos and it is up and running fine - locally. That is the problem, I can't access the server from other machines on the LAN. Ping works, btw. So I've been reading tutorials and howtos for the past week, but for the life of me, I can't find what I'm doing wrong. The standard Apache setup seems to be made to "just work", so although I've looked at the various configuration files mentioned in the tutorials, I haven't actually changed anything.
I'm running OpenSuse 11.3 X64. I have installed apache2, PHP5 and MySQL in order to do some web-design offline e.g. they are for internal network use only. There is also phpMyAdmin installed. The default directory for the "server" is /srv/www/htdocs.
To access a specific site in progress I create a subfolder there then just navigate via h**p://10.13.23.201/NAMEOFFOLDER from my internal network. At least that is how it should work but it doesn't. I created a new folder called wlc so it's directory is /srv/www/htdocs/wlc however when I go to the address h**p://10.13.23.201/wlc I get a Remote Server Or File Not Found error from my browser, there is files in there ,index.php, that should load and apache has been set to recognize *.php files.
I know the theory should work as I can access /srv/www/htdocs/phpMyAdmin by going to h**p://10.13.23.201/phpMyAdmin and it loads just fine. Also the error is different if I go to a folder that doesn't exist for example h**p://10.13.23.201/THISFOLERDOESNTEXISIT will return an Object Not Found error.
I'm trying to setup an Apache webserver on my computer in order to practice HTML5/CSS3 for an upcoming competition I'm in. I'm able to access my site from inside my network, but I cannot outside my network. I've had several people try, and they all report that the server just times out. I'm running Ubuntu 10.04 and Apache 2.2.17
I have a wireless cable modem/router and a PCI-E 1x wireless card in my desktop PC. It works perfectly until I connect my Ethernet cable to my local router and printer, no more internet connection. I am guessing there is a setting somewhere that tells the networking software that the hard wire connection is the primary internet gateway. How do I tell it to use the wireless as the primary gateway?
when i type localhost i can see the page, when i type 127.0.0.1 i can see the page, when i type 192.168.0.30 i can view the page when i type the websitename.dyndns.info i can't seem to view the page or when i type 96.24.144.216 can't see the page.
I was saddled with the job of maintaining my department's website (I work at a college). When I still used windows I would access my department's folder on the web server using the following procedure: (in windows XP) go to the start menu > click 'run' > enter the folder address, I would be prompted for my login and password. The folder, and the whole server in fact, would then be visible in the windows file browser, under the 'networks' icon. I could then navigate to my department's folder and modify the files I need to to update the website.
How do I do this in Opensuse (using Gnome). I tried going to 'network' in nautilus and then 'open location' but no luck. I also tried 'connect to server' in nautilus (in the 'file' menu), but again no luck. which I could stomach if my college provided reliable access to computers on campus, but they don't so I have to use my laptop, which is now windows free . My current job is only going to last for a few more months, so having only so recently got rid of windows I am reluctant to re-install it just for this purpose (which is just about the only reason I currently have for using windows - the other is being able to download audiobooks from the public library, but that's another matter).
I have installed a web server on my local network. Everything is well configured and web pages are shown correctly from Internet (outside the local network) using the domain or the public IP.The issue is if I try to see that web pages (using the domain or the public IP) from inside the local network. In that case the router config page (192.168.1.1) is shown instead of the web pages.From inside the local network I'm only able to see the web pages using the internal IP address (192.168.1.XX).
config my apache server to list all my files: c/c++, php, java files, like the txt file on my server, e.g /var/www/mydomain/pub i want to dump all my c/c++, php, java file under the pub directory and I can access it from my domain name, if I dump txt file, I have no problem to view it, but when I dump c/c++ or php files under pub directory, then I can't view it like regular txt file, Q: is there anyway I can configure my apache server to view all the c/C++, php, java file as like txt file?
I'm running Ubuntu 10.04 with apache, rails, mysql, etc. My rails site is running at www.example.com. I'm intending to use named-based virtual hosting and I have a virtual hosts file configured/enabled for www.example.com. My site is hosted on Amazon EC2.
The problem is that if I set up a new DNS record -- say test.example.com -- and browse to that, my site www.example.com is served up! That's without configuring any new virtual hosts. And the same is true if I go to my DNS records and define test2.example.com, etc. Without touching my server, these new URLs serve up my website. That's not what I want! I want to use name-based virtual hosting and host different sites for each subdomain.
[Code]...
UPDATE: now I understand a bit more... apparently my real problem is not what I thought it was. My real problem now appears to be that when I copy this virtual hosts file and edit it to add a new subdomain name, set up the corresponding site, etc., and enable the virtual host (a2ensite) and restart (graceful), apache immediately stops serving up any websites. Apparently apache crashes although I do not see any error messages. But all my sites go down and I have to revert and then restart apache.
I thought this was because my virtual host file (pasted above) had an error. So I thought I would start by getting that first file right. Apparently it is right. So now I need to understand why adding a second virtual host causes all sites to stop being served up.
I can make a connection to the vpn server, the connection starts, but nothing happens! My IP address remains the same as previous! There is nothing added to my Knetworkmanager, I'm a beginner I should use a pcf file for my vpn connection. I use it properly, I'm sure because the connection starts and an icon is added to my panel and remains until I disconnect.
I checked it via ifconfig -a, the last part (which is for vpn) is:
I 'am trying to set a web server to develop in local website, i follow the guide in server to install php mysql but i 've got this error to set up the password of mysql ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/lib/mysql/mysql.sock'(2)i'm a noob in linux so i don't know how to resolve it.
I'm trying to enable a VNC connection from a Windows machine to remotely connect into my openSUSE machine (11.2, KDE, 64-bit), but I cannot get any desktop environment to load up at all. It just comes up with a blank screen and a black cross for a cursor. What I want is to be able to see exactly what I would normally see if I were sitting in front of it, rather than go into a 'virtual desktop' as appears to be the case. Ideally I would want to go into the KDE desktop environment in this instance, and it would also be nice if dual monitors could enabled for each remote session. How do I go about enabling my chosen environment?
If it makes any difference at all (although I doubt it does), I'm also using PuTTY in Windows in order to make an SSH tunnel to allow secure access, and I'm quite sure I've enabled all the necessary services for all of the above under the YaST Firewall (by the way, on a lesser note, do I need PuTTY to be installed at both ends for the SSH tunnel to work properly?). If you need a screenshot or output from terminal of sorts this can be arranged.
Doing my final year project in linux- a Mozilla Firefox extension which providing chat option for two or more peoples,who happen to be browsing the same website simultaneously. It shows you other people who visit the same websites as you are. These people have to be registered with our software. I don't know how to go about this. After a lot of googling and enquiring i have divided the project into three modules: an extension at browser side, chat implementation (probably in ajax) and a server- apache-php-mysql.
The extension keeps track of the URLs visited by the browser. It sends this information to the server. When it receives information from the server, the extension displays the number of users visiting the URL as the user. The extension informs the server whenever the user clicks the EnableChat(which will be embedded in a toolbar in the browser) button to start a chat session. After receiving the information, the extension displays the users in that site. The user clicks on a particular username for chat.
I have installed php mysql and apache. but i do not know exactly what the server must do. I know i have to write the server code in php and put it in the /var/www folder. but what should that code do? how exactly does the extension or browser communicate with the server for the exchange of above info?
I want to view directory content in apache server, for that i configure apache server, but i don't know how to enable autoindxing module, only apache test page is opening when i open my web site.
loss password to network. when trying to login to a local Server it tries to Authenticate from the network. Can anyone tell me how to change it back to a local Authentication or to reset network password.
I want to configure a Gprs dial up connection through my Nokia N91 to surf internet in openSUSE. I am using openSUSE 11.2 installed as a guest OS in ORACLE VIRTUALBOX (virtual pc) in windows host. I connected my mobile to openSUSE using a data cable and the phone modem is detected. I configured Wvdial.conf file and used Wvdial to connect to the internet. After performing many changes I finally managed to get a successful connection, when still I cannot surf any webpage in the browser.
The only error that I get during wvdial connection is about Namespace (DNS) failed. I am using a AIRTEL (India) gprs internet connection.
I've tried, but now I give up. I'm trying to run Apache on FC9. Nothing fancy, no extras, just the default installed apache. [correction, I have coldfusion installed, however the service is not running] I've set the Listen variable to every combination I could think of, with no success. I can set it whatever I like (such as my local IP) on any port other than port 80. If I try to set it to 192.168.x.x:80, it gives me the error message: Starting httpd: (98)Address already in use: make_sock: could not bind to address 192.168.x.x:80
I've run netstat commands to try and find applications listening on port 80 and found nothing. Whenever I chose a port other than 80 to get the service to start successfully, I am able to serve pages locally. But even with my ports forwarded correctly, no one outside the local network can see it. I've checked with nmap that my machine is opening the ports and even cheated, disabling the firewall during testing to ensure it was not part of the problem.
I noticed while locally nmaping my server that whenever I set Listen 192.168.x.x:8081, 8081 is opened, as well as normal port 80. When I stop the httpd service, both those ports are simultaneously closed. Why is httpd opening port 80? I'm assuming this is related to why I cannot assign Listen to port 80. If I run remote scans from sites like www.nmap-online.com and www.canyouseeme.org, nmap-online will report filtered on ports 80 and 8081 if my httpd is running, and if httpd stopped, 80 is closed, filtered 8081.
Can you seem reports success on ports 80 and 8081 if httpd is running, fail if httpd is stopped. I'm sure thats all a lot of information cluttered in to all that. To summarize, I cannot start my httpd server on port 80, and I cannot ever see my webpages beyond my local network. Am I missing something extremely is simple and I'm just over looking it?
The situation is this, I have one of those router cable/wifi. So I have the main pc plugged to the router, the router give local ip for all my network (the others computers connects via wi-fi). Main pc starts up apache under Fedora 12, http://localhost.. works, http://127.0.0.1.. works, http://192.168.0.13 (my local ip) works. But when I try to connect to http://192.168.0.13 from another pc of my local network, it doesn't work. The others pcs are running windows vista.
I go another computers ping 192.168.0.13, responds! From the main computer ping 192.168.0.14, responds! So, there is communication between the machines, but I cant get to work under apache. I tried opening port 80 with iptables, i tried changing apache's port to another.
I think I've read every post here about the Broadcom and connection.I thought I tried everything.Turns out (read Chapter�35.�Using NetworkManager) using Connection Manager (K Network Manager) you can not use, what I wanted to use, 'all users, use connection' or said another way, the wifi would be activated and connected Before the user 'logs in'. Well, as I said, it turns out that if you are using gnome, this will work with NetMgr, but NOT in KDE. If you want to use 'system connect' then you have to use 'traditional' if in YaST2. Oh well, at least 'i'm' connected.... (i'm the only user, so not a big deal right now, but would like to get it working...)
My computer is running SUSE Linux Enterprise Server 11 (x86_64). I have set up an apache server there. The version is Apache/2.2.10 (Linux/SUSE) PHP/5.2.14 with Suhosin-Patch mod_python/3.3.1 Python/. It works well. I can reach the server and visit the webpages from other computers. The problem is every computer can visit it. I just want to some people can reach my server by specifying the IP address, or computer name, or whatever else.
I have installed apache php and mysql on my pc during debian installation... some of my friends complain they cannot access my webserver from their home and it's available only within my local network... Please help regarding this...
I have installed Ubuntu on four machines at work and have been blown away. On my machine I have Apache setup for web development and other machines can "see" it using my IP address. I would like to have it so they can access by the name of my computer though. I have no local DNS server so I guess I need to hard code the relationship in each machine? Ideally I'd actually like to be able to use subdomains (which I use locally to avoid annoying .htaccess path problems). i.e. from another machine on the network to go to [URL].