Wordpress Multi-Site Domain Mapping without Pointers

seanas09lj34

New member
Joined
Jul 19, 2022
Messages
2
I'm setting up a WordPress network and trying to map domain1.multisite.com to domain1.com without using pointers (as I would still like to use email and forwarders and more). All the tutorials I have come across use pointers.

I tried a few things for example setting a custom httpd configuration wtih Document Root of the subdomain pointing to the root of multisite.com but received a 403 error.

|*if SSL_TEMPLATE="1"|
|?DOCROOT=/home/reikidiscovery/domains/reikidiscovery.org/private_html|
|*endif|

|*if SSL_TEMPLATE="0"|
|?DOCROOT=/home/reikidiscovery/domains/reikidiscovery.org/public_html|
|*endif|

This user seems to have found a way but unfortunately didn't share any code: https://forum.directadmin.com/threa...-mapping-and-lets-encrypt-certificates.53604/

On another note a few seconds after signing up here I received a spam message from an account called cerdin862 so you may want to look into that.
 
So for anyone who wants to do something similar you just need to add a new domain (under the same account as the master domain), delete public_html of that domain, and ln -s it to the public_html of your master domain.
 
Back
Top