echarlavamshi
Forum Replies Created
-
Hey there,
Congrats on getting the Multisite network up and running!
The good news is that you’re totally overthinking the plugins and server rules WordPress actually handles all of this natively now. You don’t need any extra tools or
sunrise.phphacks.It only takes a couple of minutes to set up. Here is exactly what you need to do:
- DNS: Point your custom domain’s A record to your server’s IP address (and throw in a CNAME for “www” while you’re at it).
- DirectAdmin: Go to Domain Pointers and add the new domain. Just make sure you check the box to Create as an Alias. If you don’t check that, it won’t point to your main
public_htmlfolder, and the site won’t load. LiteSpeed will pick this up automatically. - WordPress: Go to your Network Admin > Sites, edit the subsite, and literally just type the new domain
https://first.myright over the old subdomain URL. Save changes. - SSL: Rerun the Let’s Encrypt wizard in DirectAdmin for your main domain, and make sure you check the boxes to include the new alias domains so they don’t throw security warnings.
One quick heads-up: WordPress can be notoriously annoying with cookies across different domains. If you get kicked out or stuck in a login loop when trying to access the new subsite dashboard, open your
wp-config.phpand toss this line in there:define('COOKIE_DOMAIN', '');That’s literally it! For the official breakdown, you can check out the WordPress Multisite Domain Mapping Documentation in the Advanced Administration Handbook.
Let me know how it goes!
- This reply was modified 1 day, 22 hours ago by echarlavamshi.