Answer the question
In order to leave comments, you need to log in
How to bind a domain to ubuntuserver without creating a folder with the domain name in the "html" folder?
The bottom line is, there is a vps on ubuntoserver 16.04, this is a file server where files for download are located at the root, for example:
http://ip-server-address/file.exe (on the server itself, this is a folder: /var/www/html/) . After all, in order to bind a domain, I must create a folder /var/www/html/ site.com
How can I bind a domain without changing the address of the files? Is it possible?
Answer the question
In order to leave comments, you need to log in
Specify your ip in the A record in the dns of the domain.
If there is only one site, then most likely you won’t even need to edit the config.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question