Quote:
Originally Posted by k2k
hi all,
I can't get my index.html to display on the web browser. Please point it out the reason.
|
What operating system? What does your apache error log say?
Quote:
this is what i had done so far:
1. I have registered a dns name pointing to my public ip (it is done automatic)
2. my server name is set same as the dns name
3. I have configured httpd.conf like this
ServerName http://xsoldier2006.dnsdojo.org // my dns name
DocumentRoot "/var/www/html" // i place my index.html in /var/www/html
DirectoryIndex index.html index.html.var
HostnameLookups off
|
The ServerName option does not take 'http://'. Just the hostname of the machine. Generally output from
Make sure your /etc/hosts file matches what you put here.
Quote:
4. I have my index.html in the /var/www/html folder
what else should i do? did i miss a step? why it is not on the browser? thanks
|
Also, does your ISP block port 80? You can check at
Open Port Check Tool .