Welcome Guest ( Log In | Register)



 
Closed TopicStart new topic
> Pointing Domains To Diffrent Directories Or Subdomains, with Masking - Domain issues
Johnny
post Jun 26 2006, 06:38 AM
Post #1


[::Boy Wonder::]
***************

Group: Members
Posts: 2,098
Joined: 5-April 05
From: Costa Mesa, CA
Member No.: 5,294
T17 GFX Crew



Okay guys, I'm having a bit of a problem regarding my website and domains.

Basically, I have about 6 domains...I want 3 or 4 of them to go to my main site (a blog), and the other 2 to go to another directory of the site (a graphics forum), so I've been trying to set up my cpanel to be able to do this.

The current setup is like this:

plusone.trap17.com -- my blog
plusone.trap17.com/forums or forums.plusone.trap17.com-- graphics forum

As an example, I have these two domains registered:

jrockett.info
plusoneconcepts.info

and I want them to direct like this:

jrockett.info --> plusone.trap17.com
plusoneconcepts.info --> plusone.trap17.com/forums or forums.plusone.trap17.com

I want them to actually go to those locations, and not just be a redirect, but all I've been able to do is make domains go to my main site plusone.trap17.com.

So is there any way, maybe by .htaccess files, that I can set it up so that some domains go to the front page while others go to a subdirectory?
Go to the top of the page
 
+Quote Post
OpaQue
post Jun 26 2006, 06:59 AM
Post #2


Administrator
Group Icon

Group: Admin
Posts: 1,464
Joined: 11-June 04
From: Somewhere in Time & Space.
Member No.: 1



A CNAME pointer might help.

QUOTE
(sē-nām) Short for canonical name, also referred to as a CNAME record, a record in a DNS database that indicates the true, or canonical, host name of a computer that its aliases are associated with. A computer hosting a Web site must have an IP address in order to be connected to the World Wide Web. The DNS resolves the computer’s domain name to its IP address, but sometimes more than one domain name resolves to the same IP address, and this is where the CNAME is useful. A machine can have an unlimited number of CNAME aliases, but a separate CNAME record must be in the database for each alias.

Usage Note: While CNAME is short for canonical name, use of the abbreviated term implies that one is referring to the canonical name record, not simply the canonical name.
Go to the top of the page
 
+Quote Post
Johnny
post Jun 26 2006, 07:48 AM
Post #3


[::Boy Wonder::]
***************

Group: Members
Posts: 2,098
Joined: 5-April 05
From: Costa Mesa, CA
Member No.: 5,294
T17 GFX Crew



QUOTE(OpaQue @ Jun 25 2006, 11:59 PM) *

A CNAME pointer might help.

I'm not sure if that can help, but it can't hurt to try. How would I go about using a CNAME pointer?
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Jun 26 2006, 09:18 PM
Post #4


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,468
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



QUOTE(Johnny @ Jun 26 2006, 02:38 AM) *

jrockett.info --> plusone.trap17.com

1) access the domain control panel and change name servers to Trap17
2) park this domain under cPanel

QUOTE
plusoneconcepts.info --> plusone.trap17.com/forums or forums.plusone.trap17.com

1) backup this folder and database is highly recommended before you begin
2) access this domain control and change name servers to Trap17
3) add-on this domain under cPanel
4) enter this domain for "new domain name"
5) enter forums as the username/subdomain name
6) give a password

Since it may tell you the folder is already existing, you can then delete your current forums folder and try it again (this is where the backup comes in handy). Before you begin you may want to delete the already existing sub-domain forums.plusone.trap17.com.

PS, backup, backup and backup. Oh did I mention you should always backup before you begin? smile.gif
Go to the top of the page
 
+Quote Post
Johnny
post Jun 26 2006, 11:44 PM
Post #5


[::Boy Wonder::]
***************

Group: Members
Posts: 2,098
Joined: 5-April 05
From: Costa Mesa, CA
Member No.: 5,294
T17 GFX Crew



QUOTE(BuffaloHELP @ Jun 26 2006, 02:18 PM) *

1) access the domain control panel and change name servers to Trap17
2) park this domain under cPanel
1) backup this folder and database is highly recommended before you begin
2) access this domain control and change name servers to Trap17
3) add-on this domain under cPanel
4) enter this domain for "new domain name"
5) enter forums as the username/subdomain name
6) give a password

Since it may tell you the folder is already existing, you can then delete your current forums folder and try it again (this is where the backup comes in handy). Before you begin you may want to delete the already existing sub-domain forums.plusone.trap17.com.

PS, backup, backup and backup. Oh did I mention you should always backup before you begin? smile.gif

Strange, that's exactly what I tried yesterday and it didn't seem to work, I forgot exactly what happened though.

EDIT: BH, Have I mentioned I love you?

I figured out what the problem is...basically, BH's method did what I wanted it to, but for some reason it was showing a "no page at this address" cpanel message, but it was just because the site didn't know that the index was a php file, so I had to edit the .htaccess to reflect that.

The only thing I don't get is why it requires a password for the addon domain...seems like it should be an option.

Now, that's one issue down, I just have to deal with the other hundred. tongue.gif Thanks BH.

I'll leave this unlocked in case future problems arise or if anyone wants to discuss a similar issue.
I'll try it again and see if it works.
Go to the top of the page
 
+Quote Post
BuffaloHELP
post Jun 27 2006, 04:17 AM
Post #6


Desperately seeking "any key" to continue...
Group Icon

Group: Admin
Posts: 3,468
Joined: 23-April 05
From: Trap17 storage box
Member No.: 6,042



QUOTE(Johnny @ Jun 26 2006, 07:44 PM) *

EDIT: BH, Have I mentioned I love you?

Yes you did... LOL tongue.gif

QUOTE
The only thing I don't get is why it requires a password for the addon domain...seems like it should be an option.

When adding a domain to your hosting, our cPanel service actually gives an option to access that folder (and that folder alone) with a seperate password. So when you use username "forums.yoursite.trap17.com" and password you assigned, it goes directory to that folder rather than public_html and then you clicking on forums folder.
Go to the top of the page
 
+Quote Post
Johnny
post Jun 27 2006, 05:05 AM
Post #7


[::Boy Wonder::]
***************

Group: Members
Posts: 2,098
Joined: 5-April 05
From: Costa Mesa, CA
Member No.: 5,294
T17 GFX Crew



QUOTE(BuffaloHELP @ Jun 26 2006, 09:17 PM) *

When adding a domain to your hosting, our cPanel service actually gives an option to access that folder (and that folder alone) with a seperate password. So when you use username "forums.yoursite.trap17.com" and password you assigned, it goes directory to that folder rather than public_html and then you clicking on forums folder.

Ohh, I see. So it's only used for FTP access to certain parts of the site, rather than the whole one, right? Like if you were to allow someone (or everyone) to upload files to a certain directory, provided they have the password. Neato.
Go to the top of the page
 
+Quote Post

Closed TopicStart new topic

Collapse

> Similar Topics

Topics Topics
  1. Help With Subdomains And Dns(16)
  2. Upgrading From Subdomain To Domain(2)
  3. Co.cc As A Domain?(0)
  4. Alternative Access While Tranferring Domain(3)
  5. Existing Domain With Free Hosting(4)
  6. Parking A Domain(3)
  7. Free Domain Hosting Down? [resolved](5)
  8. Domain Name Information(5)
  9. Domain For Credits(5)
  10. Need Help With Masking A Website(9)
  11. Parking A Domain(1)
  12. Add-on / Parked / Subdomains?(3)
  13. Compuhost / Adding Extra Domain Help(2)
  14. Directory Restricted?(7)
  15. I Would Like To Change My Domain Name [resolved](4)
  1. Changing Trap17 Domain?(2)
  2. Need Help In Addon Domains(4)
  3. Domain Name On Subdomain?(6)
  4. Sub Domain Problem : Urgent(10)
  5. Domain Constants --- A, Mx, Ns & Cname Values(2)
  6. Server Issues? Web Site Down? Cpanel Access?(48)
  7. I Bought A Domain Name Through Godaddy And I Need To Know How To Point It At My Trap17 Site Help Plz.(2)
  8. Spammers Using My Domain To Send Spam(4)
  9. Issues Uploading A File [resolved](3)
  10. Giving Out Subdomains(1)
  11. Addon Domains(2)
  12. Question About Changing Domain Names.(8)
  13. Just Purchased A Domain...(3)