Redirecting Issues

Redirecting Issues

Posted by: zasboy
Posted on: 2005-10-19 10:27:00

Hi,

I got a relative simply question, I hope. I have installed the Gallery software but it is located in a subdirectory on my domain site. For example: www.zasboy.com/zasboy1

I would like to redirect the path to a subdomain which I created call: gallery.zasboy.com

Is this possible? When I tried to do the redirect, I got this error:

Domain to redirect: zasboy.com/zasboy1
"Invalid domain: domain name must contain only letters, numbers, "-", and "."
Redirect to URL: http://gallery.zasboy.com/


Re: Redirecting Issues

Posted by: jrt
Posted on: 2005-10-20 09:11:00

I got this same error message and posted a note in this same forum.
You should check out the thread. I got a response but it still is happening. Am waiting for another response so if you tune in to it your answer will likely be the same.


Re: Redirecting Issues

Posted by: kchrist
Posted on: 2005-10-20 14:08:00

Create an .htaccess file in the root directory of your domain with the following line:

Redirect /zasboy1    http://gallery.zasboy.com

Re: Redirecting Issues

Posted by: dallas
Posted on: 2005-10-21 18:17:00

That Domain redirect feature is for redirecting a whole domain (or subdomain) and not a URL with a subfolder like that.

The htaccess recommendation will work.

- Dallas
- DreamHost Head Honcho/Founder

Tags: invalid domaindomain nameredirectredirectinghttpgallery softwaresubdomainpathexample wwwhopeurl