hello all, this should be an easy one for you.
I'm trying to set up apache2 to serve a web page I'm building (don't worry, its just for fun. Clearly if I can't set up apache I shouldn't be an admin)
So I just downloaded and installed the package, looked at a couple blogs on configuring, and took off.
I'm using no-ip to give me my domain name.
Here is what I've done,
copied the default file in /etc/apache2/sites-available to test
added the line ServerName myname.sytes.net to test
deleted the link to 000default in sites-enabled
ran a2ensite test
and ran /etc/init.d/apache2 restart
upon which apache complained that it could not reliable determine my fully qualified domain name and set it would set it to 127.0.0.0.
Now, I can browse to localhost, and everything works fine. But if I browse to myname.sytes.net nothing happens. The browser just waits forever.
So I added ServerName myname.sytes.net to apache2.config, at which time it quit complaining about not being able to determine my fqdn, but it didn't change my browsing results. Any ideas?
In short, apache2 is serving fine if I request localhost, and doesn't seem to do anything otherwise.
Thanks for the help in advance.