Cannot view Your Virtual Hosts from Wamp menu
Posted by: project_foxtrot (---.static.krny.ne.charter.com)
Date: July 26, 2013 11:06PM

I have set up a Virtual Host and everything is working correctly, but I would like to be able to navigate to it directly from my WampServer main menu page.

I followed the directions provided by DaleV at [www.geekgumbo.com] . But after I add a new vhosts folder and a .conf for my Virtual Host I still cannot view my Virtual Hosts listing. The "Your Virtual Hosts" menu section isn't even showing up on the WampServer menu.

I am running Wamp Version 2.2

When I look in the WampServer main menu's index.php file, there isn't anything set to check for virtual hosts. Is there something I need to add into the index.php file?



Edited 1 time(s). Last edit at 07/26/2013 11:10PM by project_foxtrot.

Options: ReplyQuote
Re: Cannot view Your Virtual Hosts from Wamp menu
Posted by: RiggsFolly (---.as13285.net)
Date: July 27, 2013 06:19PM

Create a folder called vhosts at c:\wamp\vhosts

In that folder create a file for each vhost you want a clickable link for in this form

example:

link to www.microsoft.com the the filename should be 'www.microsoft.com.conf'
link to project1.dev the the filename should be 'project1.dev.conf'



Edited 1 time(s). Last edit at 07/27/2013 09:21PM by RiggsFolly.

Options: ReplyQuote
Re: Cannot view Your Virtual Hosts from Wamp menu
Posted by: project_foxtrot (---.static.krny.ne.charter.com)
Date: July 29, 2013 03:28PM

I have tried adding the vhosts folder & adding the .conf files inside that folder, but the "Your Virtual Hosts" list on the localhost homepage still does not show up.

Options: ReplyQuote
Re: Cannot view Your Virtual Hosts from Wamp menu
Posted by: RiggsFolly (---.as13285.net)
Date: July 29, 2013 04:09PM

Yes I did a bit of research yesterday. WAMP 2.4 seems to have removed that feature.

Options: ReplyQuote
Re: Cannot view Your Virtual Hosts from Wamp menu
Posted by: project_foxtrot (---.static.krny.ne.charter.com)
Date: July 29, 2013 04:24PM

I am running WAMP 2.2, so shouldn't it still work correctly?

Options: ReplyQuote
Re: Cannot view Your Virtual Hosts from Wamp menu
Posted by: RiggsFolly (---.as13285.net)
Date: July 29, 2013 06:19PM

Yes it should.

So you must have done something wrong.

The folder should be here, assuming you installed on the c: drive, otherwise whichever drive you installed onto.
c:-|
wamp-|
vhosts

Put a file with this name in the hosts folder as a test www.wampserver.com.conf


Now lets assume you have defined one or more vhosts, not alias's

1. project1.dev
2. project2.dev

So you would add 2 more file to the 'vhosts' folder with these names :-
project1.dev.conf
project2.dev.conf

Options: ReplyQuote


Sorry, only registered users may post in this forum.