Create a sub domain with .htaccess ???
Posted on 2006-10-26
I have a web site hosted in a LINUX environment and let’s assume the URL as http://www.abc.com
Now I need to create a sub domain called http://xyz.abc.com and redirect all the traffic coming to that URL to folder called “xyz” in the root. I'm willing to deploy a application in to "xyz" folder.
Hosting support service has informed me to do it using .htaccess file. Also there is some facility to enter A records, CNAME, etc if needed.
Can you please provide me the necessary guide to this?
Thanks a lot !