Web Hosting Talk







View Full Version : Subdomain Setup


JL™
01-04-2001, 10:51 PM
Can someone give me detailed instructions for setting up a subdomain on a RaQ3. Here's my problem:

I have a domain (ex. domain.com) I and I want to create a subdomain of it (123.domain.com). Whenever I try to create a new V-Site, I get an error saying:

Another domain already uses the alias of domain domain.com.

Is there anyway to setup a subdomain of a domain manually? Thanks.

JL™
01-04-2001, 11:12 PM
Nevermind. I got it.

teck
01-05-2001, 12:13 AM
care to explain to me?

JL™
01-05-2001, 01:06 AM
There are two ways to do it. The first is the way I did/do it (it's the easiest, plus the second way has CGI complications).

First Way

1. In Admin Panel, click "Add Virtual Site".
2. Enter in the IP you wish to use.
3. For the hostname, type in "www".
4. For the domain, type in the subdomain you want (i.e. abc.yourdomain.com)
5. Fill out the rest of the info to however you want it.

Note, I haven't tried it with "Accept Email" checked so you can try it and see if it works.

Now after that is done, click on "Control Panel", click on your DNS Settings. Perform the following:

1. Choose "Add New A Record".
2. For hostname, leave it blank.
3. For the domain, make it "abc.domain.com". Enter in the IP you used for the domain.
4. Check the "Reverse" box and save.
5. Create another "Add New A Record".
6. In the hostname, type "www".
7. In the domain, "abc.domain.com".
8. DO NOT check the "Reverse" Box. Save.
9. Once the next page loads, click "Save DNS Changes".
10. Once the next page loads, click "Save Changes".

That should do it. You may have to wait a minute or two before it actually resolves and works.

If you want to know the second way, let me know. It's MUCH more complicated.

teck
01-05-2001, 01:42 AM
hmm..i dont use my raq for dns though. i use tera-bytes's interface. unless you mean i can do it your way too...

JL™
01-05-2001, 01:46 AM
Yeah you can do it that way, but only if your domain points to your server and not tera-byte.

teck
01-05-2001, 02:03 AM
yeah..my domain points to my server..cool..i'll give it a shot!

Chicken
01-05-2001, 01:20 PM
Ummmm, I don't know why you did it that way but to add a subdomain the 'usual way', simply:

1. In Admin Panel, click "Add Virtual Site".
2. Enter in the IP you wish to use.
3. For the hostname, type in "subdomainname".
4. For the domain, type in the domain you want.
5. Fill out the rest of the info to however you want it.

Do not check Accept Email for Domain nor Web Access by Domain.

If you are getting errors that the records already exist, it is probably because these are checked. These boxes are genenerally checked only when you want the domain to resolve as either:

http://domain.com or http://www.domain.com

-and the host name you are setting up is 'www'.

If you create a subdomain say http://123.domain.com and check these boxes then what you will get is the domain resolving as either:

http://123.domain.com or http://domain.com


Am I totally off here as to what you're trying to accomplish? Maybe this is something special, and if so, just ignore all of this. But it looks to me as if you aren't setting up the host name correctly.

If, for some reason, you want:

http://www.123.domain.com

-then in the host name field put: http://www.123
-and in the domain field put: domain.com

Chicken
01-05-2001, 01:26 PM
Originally posted by JL™
Another domain already uses the alias of domain domain.com.

I am certain that this error is due to the box being checked, Web Access by Domain. You already checked this box once for a virtual site that you set up with this domain in it. You can't check it twice.

Example- You can't have:

http://123.domain.com
http://www.domain.com
http://domain.com

All being able to resolve as if it were the same site. I don't think this is what you want. This is what you are trying to do however.

(Note: It isn't that you can't have this - as an absolute - just that you can't set it up this way in the CP)

JL™
01-06-2001, 05:03 PM
Yeah I was checking Web Access by domain. Either or, both ways seem to work so I guess I can use both hehe. Thanks.