ShoeLace1291 Posted March 27, 2012 Share Posted March 27, 2012 I was wondering if it's possible to change host names or add new hosts in wamp server. I want to use different wamp server installations for my different websites. For example: if I had a website installed called "websiteone", i would access it with "http://websiteone" instead of "http://localhost" Link to comment https://forums.phpfreaks.com/topic/259785-how-to-change-localhost-to-something-else-in-wamp/ Share on other sites More sharing options...
titan21 Posted March 27, 2012 Share Posted March 27, 2012 You should be able to do this by able to do this by defining a new virtual host in your apache config and make the ServerName "websiteone". Link to comment https://forums.phpfreaks.com/topic/259785-how-to-change-localhost-to-something-else-in-wamp/#findComment-1331475 Share on other sites More sharing options...
trq Posted March 27, 2012 Share Posted March 27, 2012 You will also need to add this name to a local DNS server or at minimum your hosts file to get this working. Link to comment https://forums.phpfreaks.com/topic/259785-how-to-change-localhost-to-something-else-in-wamp/#findComment-1331483 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.