[SOLVED] Apache Issues - Configuration?
Posted: 2011/08/29 01:54:10
I have a dyndns.org account setup so that I can access my server and develop on the go if I have to - however I can't seem to get any pages to load withing my network or outside.
Basic Info:
Server IP on Network - 192.168.1.102
DYNDNS.ORG - neidz11.dyndns.org
Router is setup to allow :80/:3306/:22 - I can SSH into my server via 192.168.1.102 or neidz11.dyndns.org from outside connection.
Apache /etc/httpd/conf.d/vhost.conf
[code]
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin travisneids@domain.com
ServerName neidz11.dyndns.org
DocumentRoot /srv/www/www.domain.com/public_html/
ErrorLog /srv/www/www.domain.com/logs/error.log
CustomLog /srv/www/www.domain.com/logs/access.log combined
</VirtualHost>[/code]
/etc/hosts
[code]
127.0.0.1 localhost
192.168.1.102 neidz11.dyndns.org
[/code]
hostname -f
[code]neidz11.dyndns.org[/code]
When I run apache - I get OK so I believe it is running however I don't know how to get the webpages to show up.
Is it my hosts file on my development computer? What should that look like?
Development hosts
[code]192.168.1.102 www.domain.com[/code]
Is it my hosts file on my server?
THANK YOU!!!
Basic Info:
Server IP on Network - 192.168.1.102
DYNDNS.ORG - neidz11.dyndns.org
Router is setup to allow :80/:3306/:22 - I can SSH into my server via 192.168.1.102 or neidz11.dyndns.org from outside connection.
Apache /etc/httpd/conf.d/vhost.conf
[code]
NameVirtualHost *:80
<VirtualHost *:80>
ServerAdmin travisneids@domain.com
ServerName neidz11.dyndns.org
DocumentRoot /srv/www/www.domain.com/public_html/
ErrorLog /srv/www/www.domain.com/logs/error.log
CustomLog /srv/www/www.domain.com/logs/access.log combined
</VirtualHost>[/code]
/etc/hosts
[code]
127.0.0.1 localhost
192.168.1.102 neidz11.dyndns.org
[/code]
hostname -f
[code]neidz11.dyndns.org[/code]
When I run apache - I get OK so I believe it is running however I don't know how to get the webpages to show up.
Is it my hosts file on my development computer? What should that look like?
Development hosts
[code]192.168.1.102 www.domain.com[/code]
Is it my hosts file on my server?
THANK YOU!!!