[SOLVED] Apache Issues - Configuration?

Issues related to applications and software problems

[SOLVED] Apache Issues - Configuration?

Postby 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: Select all
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>


/etc/hosts
Code: Select all
127.0.0.1       localhost
192.168.1.102   neidz11.dyndns.org


hostname -f
Code: Select all
neidz11.dyndns.org


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: Select all
192.168.1.102   www.domain.com



Is it my hosts file on my server?


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

Re: Apache Issues - Configuration?

Postby neidz11 » 2011/08/29 03:34:13

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

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

[SOLVED] Apache Issues - Configuration?

Postby 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].
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk


Return to CentOS 6 - Software Support

Who is online

Users browsing this forum: No registered users and 3 guests