Jump to content

Recommended Posts

Posted

Mam/Sir,

 

http://www.firm.tk/ has test/ directory and it's already had an index.htm file. So, you could check it at: www.firm.tk/test/

 

The things that I've did are, I add a *.firm.tk subdomain and paste this code on the .htaccess file:

 

RewriteEngine on
RewriteCond %{HTTP_HOST} !^www\.
RewriteCond %{HTTP_HOST} ^([^/.]+)\.firm\.tk$
RewriteRule ^ %1%{REQUEST_URI} [L]

 

And that's all, but why test.firm.tk subdomain doesn't rewriting yet to www.firm.tk/test/ directory? Did I do something wrong? Or a HelioHost Support need to mentioned first to be able that domain to perform a wildcard subdomain?

 

Please help and teach me a little bit to correct what I am doing, if I'm coding wrong, thank you!

Guest
This topic is now closed to further replies.
×
×
  • Create New...