I have installed Fedora 10 freshly.I edited the virtulHost line as:
[code]
<VirtualHost *:80>
ServerName asklinux.com
ServerAdmin root
Document /var/www/html
</VirtualHost>
Restarted the apache.
I created a page index.php under /var/www/html and can see the output
http://asklinux.com/index.php.
I was connected to internet earlier.I edited /etc/hosts file too :
Code:
127.0.0.1 asklinux.com localhost.localdomain localhost
The moment I disconnected internet.
I was not able to open the same page.
I wondered if it has issue with asklinux.com.So What I did is: removed the asklinux.com entry from /etc/hosts.And tried restarting the apache service.
To my surprise, it dint come up.
Any idea why its behaving so?