Answer the question
In order to leave comments, you need to log in
How to set up subdomains?
Hello! I'm working on a bulletin board. When you select a city, the page opens on a subdomain, for example, msk.site.ru. But when opened, the browser gives an error: Cannot access the site Could not find the IP address of the server. I understand you need some setting in htaccess?
Answer the question
In order to leave comments, you need to log in
First you need to add subdomains or wildcard (asterisk) to DNS. tyts
Then set up a webserver.
Therefore, htaccess will already reach (but this is not accurate).
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question