Jump to content

Question about DNS server


zachary
 Share

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?

Edited by zachary
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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...