Hi guys,
i know that there are like a thousand threads about this, but i still don't get it
I want to have a few co-domains that are redirected to a directory within my /web.
For example, i've got the domain
www.domain.tld and i've just created test.domain.tld in the co-domain section of that domain in ispconfig.
Now i've created a .htaccess file in the root of my website and entered the following lines in there:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^test\.domain\.tld [NC]
RewriteRule ^(.*)$ http://www.domain.tld/test$1 [R]
This works. BUT, i don't want people to see the
www.domain.tld/test in their address bar, i just want them to see test.domain.tld.
Is there a way to do this?
Thanks alot!
Recent comments
6 hours 48 min ago
13 hours 29 min ago
17 hours 20 min ago
18 hours 58 min ago
1 day 3 hours ago
1 day 12 hours ago
1 day 13 hours ago
1 day 17 hours ago
1 day 21 hours ago
1 day 22 hours ago