Current time: 09-28-2024, 02:36 AM Hello There, Guest! (LoginRegister)


Thread Closed 
Redirect a subdomain to the main domain
Author Message
kilburn Offline
Development Team
*****
Dev Team

Posts: 2,182
Joined: Feb 2007
Reputation: 34
Post: #8
RE: Redirect a subdomain to the main domain
Quote:Is it possible to use the sources from "www.test1.com" for all requests for "sub.test1.com" without visible changes in the URL ?

There is one really easy way, but it must be done as an admin because it involves filesystem fiddling:
Code:
rm -rf /var/www/virtual/domain.tld/subdomain/htdocs
mkdir /var/www/virtual/domain.tld/subdomain/htdocs
mount --bind /var/www/virtual/domain.tld/htdocs /var/www/virtual/domain.tld/subdomain/htdocs
09-06-2009 11:08 AM
Visit this user's website Find all posts by this user
Thread Closed 


Messages In This Thread
RE: Redirect a subdomain to the main domain - kilburn - 09-06-2009 11:08 AM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)