darkdmr Posted January 18, 2007 Share Posted January 18, 2007 I want to redirect x.y.com to www.y.com/x.htmlwhere y is my domain nameand x is subdomain nameWhat to change in the .htaccess or .conf file ?And could this be done because i have never created the x subdomain (I dont know how, and hosting company doesn't support too well).10x in advance? Link to comment https://forums.phpfreaks.com/topic/34801-subdomain-redirect/ Share on other sites More sharing options...
the_oliver Posted January 23, 2007 Share Posted January 23, 2007 If your on dedicated this can be done as a virtual host in the apcahes httpd.conf file. It will however also need an A-record to be set up for x.y.com by your hosting company. If you can't change the httpd.conf file, then many hosting companys give you a 'domain forwording' option in your DNS controle pannal. Realy your best to see what you can get out of there support. Link to comment https://forums.phpfreaks.com/topic/34801-subdomain-redirect/#findComment-167446 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.