JaguarPC Community - Web Hosting, VPS Hosting, cPanel VPS Hosting, Hybrid Servers, Dedicated Servers, Virutal Private Servers, Managed Servers
» Web Hosting Open Discussions
» Open Discussion & Chit-chat
:
Subdomain...
| Open Discussion & Chit-chat Meet new people and have fun, anything goes. Share tips with other users or ask fellow user for help with any topic and more... |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Mad Scientist
Join Date: Oct 2002
Location: Brooklyn, USA
Posts: 19
|
Hi:
I've searched the forums for info on subdomains before posting... Here are my questions: (1) my domain is 2-bit-toys.com when I add a subdomain "aaa" for example... it shows up on the top of the subdomain cpanel page as "aaa_2-bit-toys.com" Is this normal? In Aletia's control panel I would just see "aaa" at the top. (2)I have www.aaa.com registered. How do I configure stuff so that if the user types www.aaa.com it will get redirected to the subdomain that I've defined at Jaguar? I think all I have to do is add the subdomain "aaa", right? I don't need to set any redirection, right? Thanks. -a little confused.
__________________
------------------------------------------ -James www.2-bit-toys.com |
|
|
|
|
|
#2 |
|
Aletia Customer
Join Date: Oct 2001
Posts: 631
|
No, you have to submit a ticket, and tell them to change the DNS of whatever domain you have registered, and tell them which folder to point it to. That is part of my problem right now too, so don't expect them to get to that too quickly.
|
|
|
|
|
|
#3 |
|
Mad Scientist
Join Date: Oct 2002
Location: Brooklyn, USA
Posts: 19
|
I currently have set up two subdomains
aaa and bbb both directories have already been created... /home/me_blah/www/aaa /home/me_blah/www/bbb Masood had to do something so that www.aaa.com will actually point to the first folder and www.bbb.com will point to the second. This was really strange. After Masood did that, I pointed my browser at www.aaa.com and www.bbb.com and the browser just hung. I then tried this... I moved the directory aaa to aaa_old and the MANUALLY created a directory called aaa. I put an index.html in there...and it worked!!! I did the same thing with bbb. HOWEVER, just as a test, I used the cpanel to delete my aaa subdomain through the cpanl and then added it again. Now www.aaa.com does not point go to /home/me_blah/www/aaa. Does anyone know why deleting a subdomain and readding it nullifies what Masood did? What exactly did Masood do? Please feel free to be technical. Also, can you please tell me why I had to MANUALLY create a aaa directory to get subdomains to work? Why coudn't I have just used the aaa directory that was created by the cpanel? Thanks.
__________________
------------------------------------------ -James www.2-bit-toys.com |
|
|
|
|
|
#4 |
|
Community Leader
Join Date: Sep 2001
Location: Rochester, NY
Posts: 5,949
|
That sounds rather strange. I've never had a problem with the directories that cpanel creates for subdomains.
In order to get www.aaa.com to point to a folder inside your main site, you do not need a subdomain. A subdomain refers would be something like aaa.maindomain.com. What Masood did was set up a pointed domain (or I guess we're calling them "multi-hosted domains" these days). Right now there is no way for clients to set these up on their own because they require modification to the apache conf files. What Masood did was edit the conf file to include a new virtual domain. When a request comes in, apache searches that file for the requested domain and finds the directory where the files for that domain exist. So, essentially, when a request for www.aaa.com comes in, apache looks for a record of it and sees that is should get files from /home/me_blah/public_html/aaa. For your main domain it does the same thing, but instead gets /home/me_blah/public_html as the base directory. Deleting the aaa directory doesn't cause the apache conf files to change, so I have no idea why doing that would break that domain. Check that you set the permissions correctly on the directory when you recreated it (they should be 755, drwxr-xr-x). That's about the only thing I can come up with that could be wrong. Are you getting some kind of error message? --Jason So, you run the websites for both the American Automobile Association (aaa.com) and the Better Business Bureau (bbb.com)? That's impressive...
__________________
Jason Pitoniak Interbrite Communications www.interbrite.com www.kodiakskorner.com Last edited by jason; 11-03-2002 at 11:24 AM. |
|
|
|
|
|
#5 |
|
Mad Scientist
Join Date: Oct 2002
Location: Brooklyn, USA
Posts: 19
|
Thanks for the info Jason.
Just to test out your theory about apache files and cpanel files not interfering with each other... I used the cpanel to delete subdomain aaa (it's not triple A! )and when I point the browser to www.aaa.com it doesn't show the index.html file in /home/me_blah/www/aaa I've totally confused now. I'm afraid to do anything through the cpanel now...although it's great for certain things...i'm afraid that if I do something in the cpanel, and the cpanel screws up something, then I would have to wait a while for someone to respond to my support ticket. Arggggh. This is frustrating. Nothing is smooth here. Do you have any insights as to what might be happening? I checked the permissions of the directories and they're fine. Thanks.
__________________
------------------------------------------ -James www.2-bit-toys.com |
|
|
|
![]() |
| Bookmarks |
«
Previous Thread
|
Next Thread
»
| Thread Tools | |
| Display Modes | |
|
|










)




Linear Mode
