HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=25)
-   -   Several domains (sites) on the same directory. (http://www.howtoforge.com/forums/showthread.php?t=61768)

chessman2212 8th May 2013 19:32

Several domains (sites) on the same directory.
 
Hello,

I need to get 2 websites using the same directory and DB but having their proper URL

The objective is I get a .com website for the international version and a .fr one with the French content

How can I configure the sites to use the same directory ?

I tryed to use the alias feature but can't get it configured well

NOTA : the sites are both on the same "customer" in the panel.

thanks for your help.

darinpeterson 8th May 2013 20:07

Why doesn't aliasing work? You should be able to detect which host is being used and set the languages by that...

chessman2212 8th May 2013 20:46

Hello,

when you create a site with ISPconfig it creates automatically a specific directory for it. And the sites are kind of "chrooted" so when I ask domain2 to redirect to the first directory ISP ask me for a directory like /test/ and not ../toto

till 9th May 2013 15:30

Yust add the second domain as aliasdomain of the first one and do not activate any redirects for the alias domain, it will then point zo the same directory then the main site automatically.


All times are GMT +2. The time now is 02:31.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.