R
R
rusikus2021-07-29 13:54:47
Apache HTTP Server
rusikus, 2021-07-29 13:54:47

How to create subdomains in Vesta CP, what would they lead to the folder of the main domain?

There is a site in the /my.site folder. I need to create hi.my.site subdomains, but in such a way that when the subdomain is opened, all site files are taken from my.site. I understand that Apache configs need to be used, but I could not google how

Answer the question

In order to leave comments, you need to log in

1 answer(s)
V
Viktor Taran, 2021-07-29
@rusikus

you don't need a subdomain, you need an alias. it is in the settings of the site, just enter the domain names you need through a space .
www is exactly the same as what you want, it is also a 3rd level domain.
1. create the 3rd level domain you need in the DNS editor
2. specify the alias on the main site.
web.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question