4 ms·
Sorry for the vagueness, but I do not want multiple domains to point to the same site. I would like multiple domains pointing to the same server which servers d
by MatthewPhillips 15y ago
Sorry for the vagueness, but I do not want multiple domains to point to the same site. I would like multiple domains pointing to the same server which servers different sites. What I need is the server component that knows which site to serve (or which mail account to route to, etc.)
- deleted 15y ago[deleted]
- sp332 15y agoOh, I see. That's actually pretty common, google "name-based virtual host" for lots of details. I don't think dynamic DNS will affect that.
- dredmorbius 15y agoYou can still do that. You host a box via DynDNS and its canonical hostname is, say, "mystatichost.example.com". You decide you want to run a www and an ftp on that domain: CNAME www.example.com and ftp.example.com to mystatichost.example.com. 'www.example.com' is your default host on that server. You decide that you want several entirely different domains, say, example.net, example.edu, and example.org, all running from the same host. You'd again point CNAMES to 'mystatichost.example.com', and on your httpd config, create named virtual hosts for those domains. So long as the http request is for 'example.org' and not 'example.com', the surfer won't know the difference. That's been a part of basic webservers (apache, nginx, etc.) for, oh, well over a decade. Mail/MX can be handled similarly. Your domains' MX records point to 'mystatichost.example.com' as their mailserver. That's how every mail hosting provider in existance does this (say: googlemail.com for anyone using GMail hosted domains). There's absolutely no reason the end-user would know the difference. Again: all very basic Internet plumbing basics.