Configure WAMP for two IP addresses/domains
Posted by: Trident50 (---.hsd1.nh.comcast.net)
Date: October 28, 2011 10:21PM

Hello,

I have a virtual dedicated server with two different IP addresses. I'm running WAMP and have one domain setup in the WWW folder and the dns record points to one of the ip's.

I'd like to setup another domain name, using WAMP, and have the dns record for that domain point to my second IP address.

Can anyone tell me how I can do this? And where I would put the files for my second domain since I can't put them in the root of WWW?

Thank you!
Rob

Options: ReplyQuote
Re: Configure WAMP for two IP addresses/domains
Posted by: sTimulated (---.as13285.net)
Date: October 29, 2011 02:30PM


Options: ReplyQuote
Re: Configure WAMP for two IP addresses/domains
Posted by: yfastud (Moderator)
Date: October 30, 2011 02:24AM

You should set vh instead; then, you can type 'http://site1' to show the webpage and/or content of folder c:\wamp\www\site1, for example, 'http://site2' to show the webpage and/or content of folder c:\wamp\www\site2, 'http://site3' to show the webpage and/or content of folder c:\wamp\www\site3 ... in additions, you can their shortcuts to wamp menu for quick access; check screenshot winking smiley

[jlbn.com]

No matter within or outside LAN access, you need to setup Access, DNS, and VH; Access for permission to connect to your Wamp PC, DNS to tie Domain(s) to your Wamp PC, and VH to host multiple Domains/Websites/IP's and even you have only 1 Domain/IP, you should use VH to set it up w/ the site you want to show up first on top and localhost on bottom and others in middle if having more than 1 site; w/ VH, other PC's, no matter w/i or outside LAN, can access/see websites/contents on your wamp PC. If dont have real Domain, just skip DNS guide

To setup Access, follow this
[blog.jlbn.net]

To setup VH, follow this
[blog.jlbn.net]

To setup DNS, follow this
[blog.jlbn.net]

Have fun,

FREE One A Day
FREE Photo
FREE Games
FREE Websites
FREE Portable GPS
FREE WAMP Guides

Options: ReplyQuote


Sorry, only registered users may post in this forum.