Report this

What is the reason for this report?

How to adjust redirection of subdomains to the particular ports?

Posted on July 24, 2014

Hi,

can you, please, explain me how to adjust redirection of subdomains to the particular ports?

Now it is made like that and it doesn’t work :(



This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

привет :)

would this help? http://httpd.apache.org/docs/2.2/vhosts/examples.html

read Running different sites on different ports section.

it’s all about apache, not DNS settings.

if u have any other questions feel free to find me @ http://webchat.freenode.net/?channels=digitalocean&uio=d4

DNS doesn’t work like that. Clients can specify the port they want to connect to, or you can configure your web server to proxy port 80 internally.

https://www.digitalocean.com/community/tutorials/how-to-configure-nginx-as-a-front-end-proxy-for-apache

As far as I know, it is purpose of SVR record.

I need it without nginx and apache, so that dns redirects it to the needed ports.

e. g. DNS SRV-records Support in HTTP-browsers How to add Google Chat SRV records on Digital Ocean

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.