Redirect sub.domain.com to www.sub.domain.com

This is a discussion on Redirect sub.domain.com to www.sub.domain.com within the Apache Web Server forums, part of the Web Server and Related Forums category; Hi group, I'm sure this has been answered a gazillion times before, so I apoligise in advance... I have ...


Go Back   Usenet Forums > Web Server and Related Forums > Apache Web Server

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 11-12-2005
Paul Neave
 
Posts: n/a
Default Redirect sub.domain.com to www.sub.domain.com

Hi group,

I'm sure this has been answered a gazillion times before, so I
apoligise in advance...

I have a subdomain under sub.domain.com but I'd like it to be
redirected to www.sub.domain.com instead. At the moment if I browse to
www.sub.domain.com, the server redirects to www.domain.com.

What do I need to alter to get my server to work like this? I have
root access, so I can modify httpd.conf, .htaccess or DNS records (A or
CNAME) but am confused what to change.

Thanks buckets,
Paul.

 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 05:44 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0