NetTalk Central
NetTalk Web Server => Web Server - Ask For Help => Topic started by: kevin plummer on November 17, 2009, 05:19:20 PM
-
Hi All,
I can setup C Name DNS records but it only allows me to enter an IP address without a port. How can I redirect to a Port?
Eg wb.mydomain.com direct to port 2088
fox.mydomain.com direct to port 2089 etc
I guess I could do something like www.mydomain.com/wb.html and redirect that page to the port number.
Any suggestions and advice much appreciated.
Cheers,
Kevin
-
Hi Kevin,
I'm not sure that you can redirect a port - certainly not at the DNS level.
DNS resolves a "machine name" nothing to do with a port.
As you say, on a page you can redirect to any port with either a redirect, or a simple URL they click.
cheers
Bruce
-
Hi Kevin,
Eg wb.mydomain.com direct to port 2088
fox.mydomain.com direct to port 2089 etc
are you hosting those webserver locally on your own?
You may have a look at this article by Benjamin Krajmalnik:
http://www.clarionmag.com/cmag/v9/v9n02proxy.html (http://www.clarionmag.com/cmag/v9/v9n02proxy.html)
The Apache resolves the incoming requests to each webserver. Since I have a static IP-Address now, I am able to redirect the DNS at my hosting provider.
Both www.mydomain.com and sub.mydomain.com (http://sub.mydomain.com) have the same IP-Adress now, but return the contents from two differnt webservers on that very same mache. This is because the Apache knows what symbolic address points to what port. Its in the virtual host configuration.
Works like a charme!
hth
Wolfgang
-
Hi Wolfgang,
I host myself and use easydns to point to my server (or firewall) with a static IP address.
Apache sounds like it will do what I want.
Thanks for your help.
Cheers,
Kev