Current time: 11-27-2024, 06:02 AM Hello There, Guest! (LoginRegister)


Thread Closed 
Redirect a subdomain to the main domain
Author Message
snoopy74 Offline
Newbie
*

Posts: 7
Joined: Sep 2009
Reputation: 0
Post: #1
Redirect a subdomain to the main domain
Again hello :o)

Creating a subdomain for an account, i have to specifiy a special directory.
Now one of my customers wants to receive all requests to a subdomain on his main domain:

sub.test1.com > test1.com

Without changing the URL to "test1.com".
Is there a possibility with .htaccess ?

I already tried:
Code:
RewriteEngine    on
RewriteRule    ^/$ /srv/www/virtual/test1.com/htdocs/

Code:
RewriteEngine    on
RewriteRule    ^/$ /test1.com/htdocs/

Code:
RewriteEngine    on
RewriteRule    ^/$ /../../htdocs/

All without success.
09-03-2009 10:40 PM
Find all posts by this user
Thread Closed 


Messages In This Thread
Redirect a subdomain to the main domain - snoopy74 - 09-03-2009 10:40 PM

Forum Jump:


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