问题原文
原帖链接 · CoastalPro · CC BY-SA 3.0
I'm trying to figure out if the hostname I have set for my cloud-based web server is conflicting with my public-facing website in any way.
I've researched the topic and found suggestions for proper naming conventions (See here: 1 and 2), but no definitive answer on name conflicts.
Here's my specific situation and questions:
- My current hostname structure: server.example.com
- The name of my main consumer-facing e-commerce website is also called example.com
- I host multiple public-facing websites on server.example.com
Question #1: Should I use a different domain for my hostname?
Example: server.newexample.com
Question #2: What potential issues can happen (if any) if your hostname domain is the same as your consumer-facing website?
Thanks in advance for the assistance.
已采纳解答
原帖链接 · Anson W Han · CC BY-SA 3.0
Your cloud-based webserver would only conflict with your public facing website if your DNS records aren't properly set for each subdomain.
Based on your description, your DNS records should reflect:
- IPV4 / IPV6 A records for the subdomains server.example.com and server1.example.com
- IPV4 / IPV6 A records for the wildcard to point to primary public facing website; depending on your domain registration service, these may show as *, *.example.com, or even have a separate entry for www.example.com
Worth noting- a similar issue for this exists when an internal network at an institution/business has the same domain as the main website. (this is known as a split domain- see https://www.techopedia.com/definition/1346/split-domain-name-system-split-dns) In these instances, the internal network needs a custom DNS entry on their network to map to the outside world/public facing website, usually with the www prefix.
摘自公开归档,保留原文语言,版式经整理,外部媒体与邮箱地址已移除。
