eryk

Member
Jul 17, 2007
6
0
51
Hello,

I ran a search, but I didnt quite find anything pertaining to my topic.

I own two domains, lets call it domain1.com and domain2.com for this questions purpose.

Currently the main website is at domain1.com, and I just purchased another domain name for a personal site at domain2.com.

Ive tried parking and using the addon domains option, but whenever i type domain2.com, it always shows domain1.com/blahblah.

Is there anyway i can get domain2.com to stay domain2.com when it is entered in the web browser? I read something about DNS zone, but I have no idea how to do that or even find it.

Any help would be appreicated!

Thanks
 

mtindor

Well-Known Member
Sep 14, 2004
1,363
65
178
inside a catfish
cPanel Access Level
Root Administrator
Hello,

I ran a search, but I didnt quite find anything pertaining to my topic.

I own two domains, lets call it domain1.com and domain2.com for this questions purpose.

Currently the main website is at domain1.com, and I just purchased another domain name for a personal site at domain2.com.

Ive tried parking and using the addon domains option, but whenever i type domain2.com, it always shows domain1.com/blahblah.

Is there anyway i can get domain2.com to stay domain2.com when it is entered in the web browser? I read something about DNS zone, but I have no idea how to do that or even find it.

Any help would be appreicated!

Thanks
If you use Parking, then browsing to domain2.com will give you the webpage of maindomain.com.

If you use Addon Domain, then make sure you don't have any redirects enabled in the Addon Domain section after domain2.com is created.

It almost sounds as if you have domain2.com redirecting to maindomain.com/blahblah instead of having domain2.com set as an 'addon domain' without any redirection.

Mike
 

eryk

Member
Jul 17, 2007
6
0
51
thanks for the prompt reply, the files for domain2 are hosted on domain1's servers... we'll they are both sharing the same server. is there any other way i should be doing this?

-edit- is it possible to get two cpanels off 1 server? like could i have a domain1.com/cpanel and a seperate domain2.com/cpanel?
 
Last edited:

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
thanks for the prompt reply, the files for domain2 are hosted on domain1's servers... we'll they are both sharing the same server. is there any other way i should be doing this?

-edit- is it possible to get two cpanels off 1 server? like could i have a domain1.com/cpanel and a seperate domain2.com/cpanel?
Yes, simply create a new account for domain2.com and it will have its own cPanel interface. To do this, login to WHM, go to the "Account Functions" section and click on "Create a new account."

If you do not have access to WHM, you will need to contact your web hosting provider regarding this issue.
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
sorry im kind of a noob, but whats WHM?
If you don't know what it is, you probably don't have access to it :).

WHM is the interface used to administer the server as well as creating new cPanel/WHM accounts. You can access WHM via https://IP:2087 (recommended), http://IP:2086, or http://YourDomain/whm where IP is the IP address of the server and YourDomain is your domain.
 

eryk

Member
Jul 17, 2007
6
0
51
thank you for your help cPanelDavidG, i guess I will have to contact the server admin to get cpanel setup for my second account.

anyways, one last thing before i stop ressurecting this thread.

i got the domain masking thing to work, however, when a link is clicked on the site, it goes back to showing domain1.com/blahblah... it will not stay domain2.com constantly.

is there a fix for this? i read about a frame in a frame kinda thing, but i cannot seem to find it anymore :(
 

cPanelDavidG

Technical Product Specialist
Nov 29, 2006
11,216
12
313
Houston, TX
cPanel Access Level
Root Administrator
thank you for your help cPanelDavidG, i guess I will have to contact the server admin to get cpanel setup for my second account.

anyways, one last thing before i stop ressurecting this thread.

i got the domain masking thing to work, however, when a link is clicked on the site, it goes back to showing domain1.com/blahblah... it will not stay domain2.com constantly.

is there a fix for this? i read about a frame in a frame kinda thing, but i cannot seem to find it anymore :(
If you wanted to spend some time to learn about mod_rewrite, you can probably create a .htaccess file that would handle that for you. However, this is far outside our realm of support.

You can find documentation for mod_rewrite at: http://httpd.apache.org/docs/1.3/mod/mod_rewrite.html