VIRTUAL host does not show up in WAMP home page
Posted by: afrika (---.30.217.41.threembb.co.uk)
Date: June 17, 2013 12:45AM

Hello guys,
I just setup wamp and added joomla as one of my projects, all is up and runinng.

I want to add a virtual ( domain name ) based host, so in the

C:\wamp\bin\apache\apache2.4.2\conf\extra

I added the following

<VirtualHost www.xxxxxx.com:8071>
ServerAdmin cpanel@xxxxxx.com
DocumentRoot "c:/wamp/testl"
ServerName www.xxxxxx.com
ErrorLog "logs/dummy-host2.example.com-error.log"
CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>

and uncommented out the line

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

in the httpd.conf under apache.

I also changed the windows>> system32>>drivers>>etc>>hosts

And added my IP address and bound to the domain name.

However in the home screen of wamp, no virtual hosts are listed.

Kindly advise

many thanks

Ehi

Options: ReplyQuote
Re: VIRTUAL host does not show up in WAMP home page
Posted by: RiggsFolly (---.as13285.net)
Date: June 17, 2013 01:26AM

It is not supposed to Automatically, you have to do this.


Create a file in the folder c:\wamp\vhosts called www.xxxxxx.com.conf

The file requires no content, just its existance. If the folder does not exist then create that too.

So for example if you want to link to www.wampserver.com you would create a file called www.wampserver.com.conf in the c:\www\vhosts folder.

Options: ReplyQuote


Sorry, only registered users may post in this forum.