Hi folks,
I'm a long time Plesk user and new to WHM and CPanel, so my apologies if this is a relatively amateur question.
I have a new dedicated server with 5 IPs. I have a couple of domains that I'm moving to it, with DNS transfers in process. For the sake of discussion, maindomain.com and otherdomain.com.
When I setup WHM, it asked me for the domain name, so I used maindomain.com, with the first IP in my range (.114). I then created an Account for maindomain.com, so that I could use cPanel on it. This account is also called maindomain.com, and (I believe) cPanel took care of mail.maindomain.com and www.maindomain.com.
I then made a second account for otherdomain.com, and gave it an ip of .115. This seemed to work just fine.
If I hit my ip 1.2.3.115/~otherdomain, I get the correct index that I've put up there. However if I hit 1.2.3.114/~maindomain, I get a 404.
In my WHM networking settings, I have WHM configured to be s1.maindomain.com. I also do my own DNS, and would be using ns1.maindomain.com and ns2.maindomain.com.
Did I do this incorrectly?
Should I take a separate IP (.116) for the maindomain.com _Account_, and use the .114 only for WHM? I'm confused that if I point my dns for maindomain.com at .114 with WHM and the actual WWW domain located there, if WHM will respond to s1.tld and the /home/accountname folder will be the web root for www.maindomain.com.
In a nutshell, I'm not sure the proper way of having WHM and an account under it share the same IP. Both have DNS settings as well, and I don't know if I need to add my nameservers in WHM, or if I add them in cPanel.
Any insight would really be appreciated.
Thanks!
I'm a long time Plesk user and new to WHM and CPanel, so my apologies if this is a relatively amateur question.
I have a new dedicated server with 5 IPs. I have a couple of domains that I'm moving to it, with DNS transfers in process. For the sake of discussion, maindomain.com and otherdomain.com.
When I setup WHM, it asked me for the domain name, so I used maindomain.com, with the first IP in my range (.114). I then created an Account for maindomain.com, so that I could use cPanel on it. This account is also called maindomain.com, and (I believe) cPanel took care of mail.maindomain.com and www.maindomain.com.
I then made a second account for otherdomain.com, and gave it an ip of .115. This seemed to work just fine.
If I hit my ip 1.2.3.115/~otherdomain, I get the correct index that I've put up there. However if I hit 1.2.3.114/~maindomain, I get a 404.
In my WHM networking settings, I have WHM configured to be s1.maindomain.com. I also do my own DNS, and would be using ns1.maindomain.com and ns2.maindomain.com.
Did I do this incorrectly?
Should I take a separate IP (.116) for the maindomain.com _Account_, and use the .114 only for WHM? I'm confused that if I point my dns for maindomain.com at .114 with WHM and the actual WWW domain located there, if WHM will respond to s1.tld and the /home/accountname folder will be the web root for www.maindomain.com.
In a nutshell, I'm not sure the proper way of having WHM and an account under it share the same IP. Both have DNS settings as well, and I don't know if I need to add my nameservers in WHM, or if I add them in cPanel.
Any insight would really be appreciated.
Thanks!