Hosting 2 domains "Noob Question"

shaggs2004

New Member
Messages
29
Reaction score
0
Points
1
Hi
My apologies if this is answered somewhere else but I can not find it
I have just parked 2 domains in my account and they both seem to resolve to the same address
I know this may be a stupid question to some, But i am really stumped by this
What do i need to do to resolve this ?
any help or info would be gratefully received
Shaggs
 

TechAsh

Retired
Messages
5,853
Reaction score
7
Points
38
Hi,

If you are wanting to create two separate and different sites you should use the 'Addon domains' feature in cPanel instead of 'Parked Domains'.
 

shaggs2004

New Member
Messages
29
Reaction score
0
Points
1
Hi thanks for the quick reply
My apologies i didnt make my problem clear
I have used the add domain and the domain is successfully added and resolves but as i said i have 2 domains i have put the website in the public_html folder and it is live
here is the link http://www.malamutepups.co.uk as you can see this resolves to the web page
I also have http://www.360mods.org.uk this also resolves to the first url
That is the part i am struggling with were do i put the second web site
Thanks
Shaggs
Edit
I jaust tried the add domain again and got this error

Error from domain wrapper: .360mods.exofire.net could not be modified because it does not resolve to a valid IP address. Please ask the system admin to check their resolv.conf and their dns trust relationship Ignore any messages of success this can only result in failure!

any ideas i am now well stumped
 
Last edited:

lhyman

New Member
Messages
198
Reaction score
0
Points
0
you must have a folder under /public_html for the add on domain for the document root

example:

my domain:

hal.pcriot.com -> /public_html/index.html

hyman.sytes.net -> /public_html/hsn/index.html

If memory serves me correct, this also makes a sub domain

make sure you have setup the name servers at yourdomain control panel to point the x10.s name servers, look in the sticky in the totorial section.
 
Last edited:

allofus

New Member
Messages
183
Reaction score
2
Points
0
lhyman is correct.

Your main domain should be placed in the public_html folder. So your homepage would be;

Code:
/home/shaggs2004/public_html/index.html

When you go to CPanel and use 'Addon Domain' you will be asked for the document root among other things.

This textarea is automatically completed with the ftp/admin username but you can change it if you wish.

My personal preference is to place teh domain here. example.com.

The home page for example.com would then be placed as follows.

Code:
/home/shaggs2004/public_html/example.com/index.html

If you purchased the domain from x10 the nameservers will already be configured

ns1.x10hosting.com
ns2.x10hosting.com

If you purchased from somewhere like register.com you need to ammend the 'A Records' to point to your x10 IP or add change the nameservers to the x10 nameservers.


Also;
Flush your DNS and be aware that changes to DNS can take up to 48 hours to propagate, i.e get around.

To flush your DNS save this code as flushDNS.bat on your desktop and then you can flush with 1 click whenever you need to.

Code:
ipconfig/release
ipconfig/flushdns
ipconfig/renew
 

shaggs2004

New Member
Messages
29
Reaction score
0
Points
1
Thanks for all the help people ;)
It seems that i had parked both domains rather than only parking 1 and adding the other
Once again thanks for the info most helpfull
Shaggs
 
Top