hosted by liquidweb


Go Back   Web Hosting Talk : Web Hosting Main Forums : Hosting Software and Control Panels : Hosting Software and Control Panels Tutorials : CPANEL WHM and Parking or A naming a domain
Reply

Hosting Software and Control Panels Tutorials Tutorials specifically for control panels and other hosting software.
Forum Jump

CPANEL WHM and Parking or A naming a domain

Reply Post New Thread In Hosting Software and Control Panels Tutorials Subscription
 
Send news tip View All Posts Thread Tools Search this Thread Display Modes
  #1  
Old 07-29-2005, 12:54 AM
cwheat cwheat is offline
Newbie
 
Join Date: Jul 2005
Posts: 20

CPANEL WHM and Parking or A naming a domain


Hello,

I have a reseller account I have WHM and Cpanel.

Any way mymaindomain.com had all of my webfiles index.html and what not.

I want to set up newdomain.com and have it point to (not forward but point to) mymaindomain.com and also point mobile.newdomain.com to mymaindomain.com.

I mean that when some one goes to newdomain.com/ it pulls the index.html from mymaindomain public_html folder. and when they click on a link that say takes them to contact.html the address is newdomain.com/contact.html.

I don't know that parking is what I want since I want newdomain.com to have its own email address just not its own public_html.

I tried to edit the zone
newdomain.com. 14400 IN A 1.1.1.228


Where 1.1.1.228 is the iP of mymaindomain.com

here was the responce:

zone newdomaina.com/IN: loaded serial 2005072802
OK

Bind reloading on saturn using rndc zone: [newdomaina.com]
Bind reloading on mercury using rndc zone: [newdomaina.com]
Bind reloading on neptune using rndc zone: [newdomaina.com]
Bind reloading on jupiter using rndc zone: [newdomaina.com]


Zone Modified!

But when I go to newdomain.com it still pulls up its own public_html not the mydomain.com public_html??

Any help would be great.

Thanks
Chris

Reply With Quote


Sponsored Links
  #2  
Old 09-19-2005, 11:51 AM
hostingknowledge hostingknowledge is offline
Newbie
 
Join Date: Sep 2005
Posts: 22
Hello CWheat,
Actually your newdomain.com is not "Parked" it is added as an "addon" domain and hence it is pulling the index page of its own. You do not require to modify the zones for adding the parked domain, just delete the zone that you have added and then using the "cpanel" add the newdomain.com as parked domain, cpanel will atuomatically create the zone and .db file for the newdomain.com and add the "virtualblock" entery for the newdomain.com to point to the public_html folder of your "mymaindomain.com" that's it.

If this is confusing to you and if you have the root access to the server then open httpd.conf file find the "newdomain.com" and set the 'DocumentRoot' value as /home/yourusername/public_html (where yourusername is the username of mymaindomain.com) and then restart the webserver. Your newdomain.com will now fetch the pages from mymaindomain.com.

Reply With Quote
Reply

Related posts from TheWhir.com
Title Type Date Posted
50e60cd0-7b80-4dd1-87e9-4ace45a79962 Listing 2013-03-05 18:26:14
cPanel Conference 2012: Branding and How to Do it Better with Felipe Gasper Web Hosting News 2012-10-09 18:00:02
Video: cPanel and Attracta Talk About Integrating SEO Tools into the Hosting Control Panel Whir Tv 2012-08-31 14:10:47
cPanel Kicks Off Automation Bootcamp Conference on Monday Web Hosting News 2011-10-07 14:49:20
cPanel to Launch Certification Program at cPanel Conference 2011 Web Hosting News 2011-09-21 18:15:42


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes
Postbit Selector

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump
Login:
Log in with your username and password
Username:
Password:



Forgot Password?
Advertisement:
Web Hosting News:



 

X

Welcome to WebHostingTalk.com

Create your username to jump into the discussion!

WebHostingTalk.com is the largest, most influentual web hosting community on the Internet. Join us by filling in the form below.


(4 digit year)

Already a member?