Rocking
asked on
Provide valid name instead of localhost in apache 2.2
Hi,
I need to provide a logical name to the site in apache
in the httpd.conf file i have added the virtual host
<VirtualHost *:80>
DocumentRoot "C:\Program Files\Apache Software Foundation\Apache2.2\htdoc s\example1 "
ServerName www.textexample123.com
# Other directives here
</VirtualHost>
and when i try to execute the site with the name " www.textexample123.com" it goes to the internet for searching the url instead it should point to the project i am running.
Is there any other modification i need to make in the file.
httpd.txt
I need to provide a logical name to the site in apache
in the httpd.conf file i have added the virtual host
<VirtualHost *:80>
DocumentRoot "C:\Program Files\Apache Software Foundation\Apache2.2\htdoc
ServerName www.textexample123.com
# Other directives here
</VirtualHost>
and when i try to execute the site with the name " www.textexample123.com" it goes to the internet for searching the url instead it should point to the project i am running.
Is there any other modification i need to make in the file.
httpd.txt
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.