peloton
02-09-2001, 12:05 AM
Need help from fellow RaQ professionals. I know how to add a subdomain record on the server administration screen, but how do I actually set-up / transfer specific file via FTP into the subdomain?
For example: I have one file labeled ecommerce.htm and I want to link it to ecommerce.mydomain.com -- Do I need to create a new directory called ecommerce and put the ecommerce.htm file in it?
Any help from this forum is greatly appreciated.
brandonk
02-09-2001, 12:08 AM
Create a Virtual site
Ex:
Subdomain: ecommerce
Main domain: koolio.com
Create virutal Site
Hostname = ecommerce
Domain = koolio.com
NO on Web Access (otherwise you'll get an error)
DNS
Go to DNS for koolio.com
A record ecommerce is hostname koolio.com is domain to IP address
Save changes to DNS
and Save Changes twice
Thanks,
Brandon
peloton
02-09-2001, 12:31 AM
Thanks Brandon for the advice.
peloton
02-09-2001, 01:04 AM
I'm still having problem with setting up subdomain on my RaQ 4
Steps that I took:
1) Add virtual site (ecommerce.mydomain.com) and pointed it toward the unique IP assigned to the main domain.
2) Went to DNS section and Add a Record with ecommerce as hostname and mydomain.com as the Domain.
3) But when I type in ecommerce.mydomain.com in my browser, the RaQ 4 welcome page appears instead of my ecommerce.htm web page.
Note: I also tried Add "Delegate Subdomain" and enter the primary and secondary name server info as requested by the RaQ, but the RaQ's welcome page appears instead of my ecommerce.htm page. Again, where do I place my ecommerce.htm page -- in the main www directory or another folder?
Did I miss a step or two. Thanks in advance for any help from this forum.
Chicken
02-09-2001, 09:00 AM
"(ecommerce.mydomain.com) and pointed it toward the unique IP assigned to the main domain"
First, I'm not 100% sure what you want to do. If you want this subdomain to have its own IP address (possibly for a secure cert.?), then you should set it up on the server and in the DNS with *that* dedicated IP address.
It sounds like you are just pointing the subdomain to the dedicated IP of another site (www.mydomain.com), and if this is the case, you will reach the same site as http://www.domain.com (and its dedicated IP address).
I need to know a couple of things:
One, did you set up the main domain (www.domain.com) with a dedicated IP address? If not, you are using the server's IP address.
Two, are you trying to set this new domain (ecommerce.mydomain.com) up with a dedicated IP address? If not, again, you should be using the server's IP address.
The main domain has nothing to do with this (I think from what you've posted). Really it won't matter if you use a dedicated IP for ecommerce.mydomain.com *unless* you eventually want to load a secure cert. on this domain, using this IP address (which I'm guessing by the name of the site, this is a real possibility).
Telling you where to put the files won't matter if it isn't set up properly. (You won't be able to see them). Let's do that first.
peloton
02-09-2001, 04:37 PM
Chicken, you're the best. I actually did a search and found another thread with the solutions -- from you. Thanks for the tips.
Chicken
02-09-2001, 07:40 PM
Glad to hear it! Hope you stick around and share what tidbits you pick up!
can you point a subdomain to a directory of the main domain?
http://sub.domain.com shows http://www.domain.com/sub?
SI-Chris
02-11-2001, 02:23 AM
Something I was never clear on as far as sub-domains goes: Is it necessary to add a PTR record to the DNS for a sub.domain.com entry, or will a single "A" record do? It seems to work either way, but I'm not sure if perhaps I'm missing something by leaving out the PTR for the sub domain.
Chicken
02-11-2001, 12:53 PM
Originally posted by teck
can you point a subdomain to a directory of the main domain?
http://sub.domain.com shows http://www.domain.com/sub?
That redirection .htaccess that I posted will do it, but not as stealthy as you'd like I fear. It used to work fine on my old RaQ3 (hiding the true URL, etc.), but others have siad it didn't work on theirs, and it doesn't seem to work on the 4r either :(