Hello,
We're in the process of setting up a small enterprise now and originally, I had one domain name and one virtual private server.
Now I have a total of three domain names and one physical server in my house, one virtual private server.
I've registered the two domain names properly but had some questions about configuring them in WHM. I've created a new user for the person who will be in charge of the two domains. The domains will point to the same website (one is a .net, the other is a .com). So essentially, I want just one website under this users name (we'll pretend his username is john). So when someone goes to https://www.domain2.com or https://www.domain3.net, it shows /home/john/public_html/index.html (or .php or whatever).
In WHM, I've created two zones, domain2 and domain3. I don't think I have the records right though. I've created A and AAAA "glue" records or whatever you call them for both domains. I have one IPv4 address to share for all three servers, and I have a very large number of IPv6 addresses to share for each server.
I called them:
For the soa part, should I be putting ns1.domain2.com. for domain2 and ns1.domain3.net. for domain3?
And should I be created NS records called ns1 and ns2 on those two domains as well? Or do I need to be using the NS records for domain1?
Finally, I don't think this is possible, but is there anyway to have individual reverse PTR records for the domains? When I ping domain2.com or domain3.net, I see a reply from hostname.domain1.com.
I'd rather have it when I ping domain2.com, it shows a reply from hostname.domain2.com, when I ping domain3.net, it shows a reply from hostname.domain3.net. Otherwise, mail will probably be all messed up and it just looks weird.
We're in the process of setting up a small enterprise now and originally, I had one domain name and one virtual private server.
Now I have a total of three domain names and one physical server in my house, one virtual private server.
I've registered the two domain names properly but had some questions about configuring them in WHM. I've created a new user for the person who will be in charge of the two domains. The domains will point to the same website (one is a .net, the other is a .com). So essentially, I want just one website under this users name (we'll pretend his username is john). So when someone goes to https://www.domain2.com or https://www.domain3.net, it shows /home/john/public_html/index.html (or .php or whatever).
In WHM, I've created two zones, domain2 and domain3. I don't think I have the records right though. I've created A and AAAA "glue" records or whatever you call them for both domains. I have one IPv4 address to share for all three servers, and I have a very large number of IPv6 addresses to share for each server.
I called them:
Code:
# zone for domain2.com
ns1.domain2.com
ns2.domain2.com
# zone for domain3.net
ns1.domain3.net
ns2.domain3.net
And should I be created NS records called ns1 and ns2 on those two domains as well? Or do I need to be using the NS records for domain1?
Finally, I don't think this is possible, but is there anyway to have individual reverse PTR records for the domains? When I ping domain2.com or domain3.net, I see a reply from hostname.domain1.com.
I'd rather have it when I ping domain2.com, it shows a reply from hostname.domain2.com, when I ping domain3.net, it shows a reply from hostname.domain3.net. Otherwise, mail will probably be all messed up and it just looks weird.