Submitted by john.tilghman@g... on Thu, 11/26/2009 - 23:26
I have 2 domain that I need to point to the same website, how do I do that in virtualmin ?
I just need the one domain to redirect to the other.
Thanks, JT
Status:
Active
Comments
You can setup the second domain as an "alias" to the first domain, or use the "proxy" feature.
ALIAS SETUP
Select from the drop down list (on the left) the "primary" domain you want to alias.
Click "Create Virtual Server"
Choose "Alias of mydomain.com" (where mydomain.com is the domain selected in step #1)
Enter the new domain, and click "Create Server"
Now traffic sent to "myotherdomain.com" will render the content at "mydomain.com"
*** "mydomain.com" being your primary, and "myotherdomain.com" being your secondary domain ***
SETUP PROXY
Click "Create Virtual Server"
Choose Top-level server
Fill in the form like normal, choosing the features and such.
In the "IP address and forwarding" section, choose "Website URL" from the "Proxy website to URL" field, and enter the domain you want traffic to be sent to.
-Peter
Submitted by john.tilghman@g... on Tue, 12/01/2009 - 13:27 Comment #2
Works great, thanks...
JT