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!
привет :)
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.
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
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.