LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (http://www.linuxquestions.org/questions/linux-server-73/)
-   -   Apache 2.2 (http://www.linuxquestions.org/questions/linux-server-73/apache-2-2-a-776602/)

JamesScottSomers 12-18-2009 01:14 AM

Apache 2.2
 
So I have been trying to set up Apache all day, you can even go to the website.

www.karleton.ca

On my network, on the second computer, call it the client, I can access the server by IP call it 192.168.0.1. So I can access that in the browser and it will load, but that website there does not load from the external DNS. The DNS is setup by a company called EasyDNS, it is not hard to set up the IP but I will take another look at it in the morning. Port 80 is being forward to the server computer by the Router, it even has a setting for it. Technically I have a dynamic IP but has remained static, you can even ping it although I suppose it could change, 64.231.185.175.

This is what I have.

ports.conf
NameVirtualHost *:80
Listen 80

did not touch apache2.conf but everything looks OK.

httpd.conf is empty.

in sites-enabled I have this, same as many tutorials. I appreciate responses, in the morning I will probably go get a book from the library.

<VirtualHost *.80>
ServerAdmin admin@karleton.ca
ServerName karleton.ca
ServerAlias www.karleton.ca
DocumentRoot /var/www/karleton.ca/htdocs
...
</VirtualHost>

I have three other sites, or two other and one duplicate but their configurations are disabled atm.

Thanks in advance,

James Scott Somers

JamesScottSomers 12-18-2009 01:23 AM

Here is my /etc/hosts file on the server computer. I was trying both of them.

127.0.0.1 localhost localhost.gateway.__.net
192.168.0.1 servername.gateway.__.net
#64.231.185.175 servername.gateway.__.net

JamesScottSomers 12-18-2009 01:14 PM

You know you guys aren't really helping much, I am going to the library. I am going to look into finding logs on my router/modem.


All times are GMT -5. The time now is 03:14 PM.