Link to home
Start Free TrialLog in
Avatar of Rocking
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\htdocs\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
ASKER CERTIFIED SOLUTION
Avatar of DOSLover
DOSLover
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Avatar of Dave Baldwin
Dave Baldwin
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial