PDA

View Full Version : Newbie question on multiple domains



jeffkaplan88
05-05-2007, 09:10 PM
I'm a newbie with a follow up question on domains. I registered with Hostmonster and set up a domain -- 1stsite.com.

Now I want to set up a 2nd, separate domain -- 2ndsite.com. How do I name the html files and what folder do I put them in so they end up as a separate website? How do I make sure that typing the 2ndsite.com URL doesn't get me redirected back to 1stsite.com?

Thx for the help and sorry for the stupid newbie question.

serversn
05-06-2007, 03:38 AM
Okay, firstly, after you register the 2nd domain, make sure that you set this domain to point to the correct DNS servers which are

DNS Server 1 : ns1.hostmonster.com
DNS Server 2 : ns2.hostmonster.com

Next, go into your CPanel and you'll see a link to "Addon Domains"
Type in the new domain name, such as example.com
Enter a subdirectory name such as "example"
Type in a password
Click "Add Domain" button

As long as your 2nd domain has the corrent DNS servers as above, you shouldn't get any errors per say and this means that you've set up the 2nd domain to point to files in your /public_html/example directory
So all you have to do now is throw your files such as index.html or index.php files etc into /public_html/example directory where "example" is the sub directory you had specified when setting up the domain in the CPANEL. Now fire up your browser and go to your 2nd domain and you should see the results (the webpage/files you uploaded that you want your visitors to see)

Good luck, for more clarification, feel free to post back any more questions you have!

charlesgan
05-06-2007, 08:53 AM
I'm a newbie with a follow up question on domains. I registered with Hostmonster and set up a domain -- 1stsite.com.

Now I want to set up a 2nd, separate domain -- 2ndsite.com. How do I name the html files and what folder do I put them in so they end up as a separate website? How do I make sure that typing the 2ndsite.com URL doesn't get me redirected back to 1stsite.com?

Thx for the help and sorry for the stupid newbie question.

no need to worry that much.
actually you just need to go to cpanel, addon domain, to add the new domain name. assign folder name etc.

once you are done, ftp login and in public_html, you will see the new folder.
here is where you upload your second website. ;)