Jump to content

Question about DNS server


zachary

Recommended Posts

Lets say I have a web server running at 99.88.77.66:85 (notice port 85), can I buy a domain, example.com, and list the DNS server as 99.88.77.66:85 and when I access example.com, will it resolve correctly?

Link to comment
Share on other sites

Alright well maybe I should just explain what I am trying to do.I have three old computers running ubuntu linux w/ apache and all the good stufftheir addresses are:192.168.1.100192.168.1.101192.168.1.102I can port forward these to different ports and have apache listen to different portsexampleserver1 could be port 100server2 could be port 200server3 could be port 300now for example I can access each server if i type in 123.123.123.123:100 or 123.123.123.123:200 or 123.123.123.123:300I want to be able to give each ip/port combo its own domainso server1 could be example1.comso server2 could be example2.comso server3 could be example3.comis there a way to do this? I only have one public IP obviously.

Link to comment
Share on other sites

You could just have a midway device check what domain name the request used, and forward the request to the relevant port.

Link to comment
Share on other sites

If you want one public IP to forward to different servers based on the domain name, then you're going to need a router capable of doing that. I'm not a networking expert, but expect a router like that to run in the couple hundreds of dollars. It might be possible to set up a Linux machine as the router and do the configuration there.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...