Manage multiple sites with MODX

Thanks inside-creative! I have applied your plugin and customized the URL and keys but it still doesn’t seem to work. My secondary domain is pointed to the same IP as the main domain with an A record.

Perhaps I need to make changes to htaccess / nginx as you mentioned. Sorry for being a nube at this, but can you give me an idea of what changes would be made to the htaccess / nginx?