Page 1 of 1

[SOLVED] Apache Issues - Configuration?

Posted: 2011/08/29 01:54:10
by neidz11
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!!!

Re: Apache Issues - Configuration?

Posted: 2011/08/29 03:34:13
by neidz11
Firewall was blocking ports 443 and 80....just needed to think about it.

Thanks!

[SOLVED] Apache Issues - Configuration?

Posted: 2011/08/29 22:06:28
by AlanBartlett
Thank you for reporting back with your self-found solution.

On your behalf, and for posterity, this thread is marked [SOLVED].