Domain Forwarding

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

I was wondering if there was any standard scripts outthere which would
forward a sub-domain to another page? I have a domain name, for example. I would like a subdomain, to be automatically forwarded to another
URL, let's say .

Is there a script that will do this automatically for me?

- Kwaj

Re: Domain Forwarding

kwaj wrote:
Quoted text here. Click to load it

On what server is your site hosted? In Apache forwarding is done
through .htaccess. I far as I know you put this line in the .htaccess
file in the subdirectory:

ErrorDocument 301

Don't quote me on that though, as I've never actually used .htaccess.

By the way, a subdomain in something of the form /, and not /.

Safalra (Stephen Morley) /

Re: Domain Forwarding

Quoted text here. Click to load it

If you're going to use ErrorDocument, it would be "404"
ErrorDocument 404

You might have been thinking of the 301 redirect:
Redirect 301 /subdomain

These would be in your .htaccess at your DocumentRoot.    Again, these
are when you are using Apache.  If you are using IIS as your web
server, do some Google searching for answers.
My blog:
My website:
My tip site and newsletter:

Site Timeline