[SOLVED] Apache Issues - Configuration?

Issues related to applications and software problems
Post Reply
neidz11
Posts: 2
Joined: 2011/08/26 17:04:43

[SOLVED] Apache Issues - Configuration?

Post by neidz11 » 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!!!

neidz11
Posts: 2
Joined: 2011/08/26 17:04:43

Re: Apache Issues - Configuration?

Post by neidz11 » 2011/08/29 03:34:13

Firewall was blocking ports 443 and 80....just needed to think about it.

Thanks!

User avatar
AlanBartlett
Forum Moderator
Posts: 9323
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk
Contact:

[SOLVED] Apache Issues - Configuration?

Post by AlanBartlett » 2011/08/29 22:06:28

Thank you for reporting back with your self-found solution.

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

Post Reply