Installing MediaWiki on One Droplet but using different domains.

Posted January 27, 2018 1.1k views
ApacheUbuntu 16.04

Steps :

  1. I want to install MediaWiki on Droplet A since Droplet B is hosting other things. Don’t want to waste space.
  2. Droplet A has different domains than Droplet B.
  3. How do I link my MediaWiki site on Droplet A to Droplet B’s domain? I don’t want to use Droplet A’s domains for my MediaWiki site.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer

The easiest way to do this would be to create a subdomain of the domain on Droplet A and point it to droplet B. Then create a virutalhost entry for the new subdomain pointed to the directory where Mediawiki is/will be installed.