Welcome, Guest
Please Login or Register.
Lost Password?
Re: Re: How to set up two domains to use same dirctory and contents (1 viewing)
Post Reply

TOPIC: Re: Re: How to set up two domains to use same dirctory and contents

#3306
Blueforce (User)
Posts: 192
graphgraph
How to set up two domains to use same dirctory and contents 2006/12/03 08:39  
Hi,

What is the right way to set up www. site1. se and www. site2. se using the same /home/site1/ folder. Should I edit the DNS domain for site1 and add site2 here.
If so, what records do I have to add.

We have a customer that earlier did use two separate webshops on their domains for their companys, now they just want to use one for both domains, there is no problem for me changing the e-commerce engine to accept both domains. But i'm not shure how to change Webmin/Virtualmin Pro to point two domains to the same "home".

Regards,
Leif
  The administrator has disabled public write access.
#3307
Joe (Admin)
Posts: 4117
graph
Re: How to set up two domains to use same dirctory and contents 2006/12/03 09:08  
Hey Leif,

This is exactly what server aliases are for. Select the domain in the dropdown in the left menu, and then open the Create Server menu. Then click "Create Alias Server". Fill out the form, click "Create Server" and you're all done!
  The administrator has disabled public write access.
#3308
Blueforce (User)
Posts: 192
graphgraph
Re: Re: How to set up two domains to use same dirctory and contents 2006/12/03 09:27  
Hi Joe,

Ok, I think I have tried that before, thought the link-name was quite obvious but if I remember it right, the alias domain did not use/point to the real servers puplic_html, but I can be wrong here (believe it or not :-) ). And I thing it was over 6 month ago I tried this.

I'll give it a new try!

Regards,
Leif
  The administrator has disabled public write access.
#3309
Blueforce (User)
Posts: 192
graphgraph
Re: Re: How to set up two domains to use same dirctory and contents 2006/12/03 09:52  
BTW, should I use the default template here, or my own template that I use for all our domains.

Regards,
Leif
  The administrator has disabled public write access.
#3310
Blueforce (User)
Posts: 192
graphgraph
Re: Re: How to set up two domains to use same dirctory and contents 2006/12/03 10:02  
Ok, one more thing.
As I see it this option should NOT be selected, right/wrong?

The option: Setup website for domain

"....If this option is set to Yes, a new VirtualHost configuration section will be added to the Apache configuration and a new website home directory will be created."

Regards,
Leif
  The administrator has disabled public write access.
Post Reply
get the latest posts directly to your desktop

Talk and Get Help

Support
Forums
Bugs and Issues

Get Virtualmin

OS Support
Buy Online
Download
Copyright 2005-2007 Virtualmin, Inc. All rights reserved.