NetTalk Central

Author Topic: Redirecting to a Port  (Read 4941 times)

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Redirecting to a Port
« 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

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Redirecting to a Port
« Reply #1 on: November 17, 2009, 10:09:30 PM »
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


Wolfgang Orth

  • Sr. Member
  • ****
  • Posts: 251
    • View Profile
    • oData Wolfgang Orth
Re: Redirecting to a Port
« Reply #2 on: November 18, 2009, 11:07:05 AM »
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

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 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

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: Redirecting to a Port
« Reply #3 on: November 18, 2009, 03:49:52 PM »
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