htaccess to redirect www.sudomain.domain.com to

Help with html/xhtml, css, javascript and other related topics.

Moderator: Moderators

htaccess to redirect www.sudomain.domain.com to

Postby internetbrother on Thu Feb 09, 2006 2:38 pm

I want my users to be able to see their site when the type

www.subdomain.domain.com

but now it does not work and only it works when they type
subdomain.domain.com
internetbrother
Registered User
Registered User
 
Posts: 252
Joined: Sat Oct 15, 2005 10:36 am

Postby Nicolas on Wed Feb 15, 2006 2:53 am

Maybe add a subdomain in the subdomain.

Then put an index.php file in there, or html that sends them to the right one.

Not sure about htaccess though. Never touched it in my life
Nicolas
Registered User
Registered User
 
Posts: 95
Joined: Sun Jun 12, 2005 3:19 am

Postby pentapenguin on Wed Mar 01, 2006 6:33 am

Depending on the way your host has the server setup, the www part may point to a sub-subdomain rather than the actual subdomain. There may be an option in your hosting control panel to forward the www and no www to the same address.
User avatar
pentapenguin
Moderator
Moderator
 
Posts: 1466
Joined: Tue Sep 14, 2004 4:15 pm
Location: Georgia, USA


Return to (X)HTML Coding

Who is online

Users browsing this forum: No registered users and 1 guest