Portal Home > Knowledgebase > Articles Database > Associate domains with different sub-domains with WHM on dedicated server
Associate domains with different sub-domains with WHM on dedicated server
|Posted by trocupei, 12-30-2010, 04:21 PM|
|As i said in the title, we have many domain names that we would like to "point" to different subdomains on a dedicated server using only one ip.
Each sub-domain is a Joomla installation.
domain1.com ---> sub1.maindomain.com (maindomain.com/sub1)
domain2.com ---> sub2.maindomain.com (maindomain.com/sub2)
domain3.com ---> sub3.maindomain.com (maindomain.com/sub3)
In the pre-virtualhost
I wrote a entry in there...
And it works !!! But not just for one domain , it bring all the domains to this subdomain even if i add another entry with a different subdomain
They all go to the first one
|Posted by trocupei, 01-06-2011, 02:31 PM|
|Anyone has an idea ?
Add to Favourites Print this Article