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" Quote 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". Quote 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. Quote 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
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.