PDA

View Full Version : Setting Up Subdomain


davemont
07-09-2005, 10:25 PM
Hi there,
I have already set up one subdomain for my account. It works perfectly.
If you go to the url (sub.domain.com) it redirects to the appropriate folder AND it keeps the URL intact (sub.domain.com/home.html).

Now, I have tried to set up other subdomains and they don't work as well as my first one. When you go the URL (sub2.domain.com) instead of keeping the URL intact it redirects them to domain.com/sub2/index.html .

What am I doing wrong? In the subdomain area I create the new subdomain but if I setup the redirect I get the problem with the URL changing.

Is there a step I am missing?

Any help would be appreciated. Thanks

davemont
07-10-2005, 08:17 PM
More or less you don't have to do anything. Just make sure the subdomain matches a folder in your directory.

Love Siteground, but you guys could definately use some more Help files/notes for all the tools you provide.

Tom
07-11-2005, 07:03 AM
Hi there,
I have already set up one subdomain for my account. It works perfectly.
If you go to the url (sub.domain.com) it redirects to the appropriate folder AND it keeps the URL intact (sub.domain.com/home.html).

Now, I have tried to set up other subdomains and they don't work as well as my first one. When you go the URL (sub2.domain.com) instead of keeping the URL intact it redirects them to domain.com/sub2/index.html .

What am I doing wrong? In the subdomain area I create the new subdomain but if I setup the redirect I get the problem with the URL changing.


Basically, the second subdomain should be working the same way as the first one. You can contact our tech support via our ticketing system, and they will help you resolve the issue.

There can be several reasons for that to happen, such as redirects, errors in the httpd conf, etc. I suppose it is a redirect issue though.

You can also use mod_rewrite in .htaccess to make it always show the subdomain instead the domain/subdomain combination :)