L
L
Liudmyla_Medvedieva2018-09-26 13:30:01
Domain Name System
Liudmyla_Medvedieva, 2018-09-26 13:30:01

How to set up a subdomain in MultiSite wordpress?

When setting up MultiSite, wp wrote:
To use subdomain mode, you must use a mask in your DNS records. In general, it is enough to add an entry with the address * pointing to your server using the DNS configuration tool.
I created another site in wp (t.test.com), switched to it and naturally gave an error (the site does not exist).
Decided to register this DNS. I am using host panel from UKRHOST.
1) At first I read that you need to create a subdomain with *.test.com (specify *). As a result, you don’t get into the admin, but you get to the greeting of the ukrhost. That is, according to the logic, you can upload a new wp on it, etc.
2) I deleted the subdomain in step 1 and now I'm tinkering with the DNS settings of the main domain.
Registered in DNS:
*.test.com A IP(required - I wrote the ip of the main domain)
*test.com NS ns.test.com
Then in WP I created a second site again, and again it says that the site does not exist.
Does anyone know how to set it up. Thanks for the help :)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
Sanes, 2018-09-26
@Liudmyla_Medvedieva

Specify aliases on the web server side. Usually worth www.test.com. Replace with *.test.com

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question