Dynamic DNS, Cname and Router Ports related to multiple Virtual Servers behind one shared address

  • comtoistech
  • 03/19/10
  • Offline
Posted: Thu, 2011-11-17 00:29

Is there away to add a port to the DNS Cname hosted by the domain registrar?

Correct me if I am wrong but if I have multiple Websites hosted behind one IP address, the only way to route them properly is if the internal address and ports are different because an external connection to the default port 80 will not know if it wants www.domain1.com vs www.domain2.com.

How do you set this up without needing ISP static external ipaddresses and several gateway routers?

Or is this somehow magically done by Virtualmin all by itself?


Is there away to add a port

  • andreychek
  • 01/05/09
  • Offline
  • Thu, 2011-11-17 10:05

Is there away to add a port to the DNS Cname hosted by the domain registrar?

Sorry, there isn't a way to do that.

if I have multiple Websites hosted behind one IP address, the only way to route them properly is if the internal address and ports are different

You can have multiple domains on one IP address, that's not a problem (it's called "name based virtual hosting").

Using NAT rather than having a server directly on the Internet does make things more complex though. And even moreso if you aren't using a static IP address :-)

It can work though, you'd just need to make sure your router is forwarding traffic into into your server, and then you'll need to configure Virtuamin to use a dynamic DNS service.

-Eric