okay, I read that and currently my httpd.conf looks like :
Code:
ServerName localhost
Include conf.d/*.conf
NameVirtualHost WANIPHERE
<VirtualHost WANIPHERE>
DocumentRoot /home/tarun/www/
</VirtualHost>
<VirtualHost *>
DocumentRoot /home/tarun/www/
</VirtualHost>
<Directory "/home/tarun/www/">
Order allow,deny
Allow from all
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS>
Order deny,allow
Deny from all
</LimitExcept>
Options MultiViews -Indexes SymLinksIfOwnerMatch IncludesNoExec
</Directory> During server startup i get a error,
Code:
[error] (EAI 2)Name or service not known: Failed to resolve server name for 202.3.77.239 (check DNS) -- or specify an explicit ServerName
But i already have ServerName localhost defined in my httpd.conf, and anyways i am not able to access via my WAN ip..
What am i doing wrong??
(PS: My PC is on College Intranet also, is it possible that my cllg be blocking outside traffic ??if yes ,how am i supposed to confirm it>?)