How do I have multiple domains on one linode for a WordPress network?

Hi, I am new to Linode. I set up Wordpress network on one linode. I did it by going into the wp-config.php file and changing it so you can create multiple WP sites in one WP network. I am on Debian 10 on my linode server and I believe Apache is in it. I have 3 WP sites so far. The first one is at (making up the ip) 222.222.22.22, the second one is at 222.222.22.22/secondsite and the third one is at 222.222.22.22/thirdsite. Is there any easy way to hook up each of these with three different domains? I am not that great with linux but I can try. Would appreciate some help. Best. Lex.

2 Replies

Hi Lex, If you’re using Apache, you can configure multiple WordPress sites with this guide: https://www.linode.com/docs/websites/cms/configure-apache-to-run-multiple-wordpress-sites-on-one-linode

However, if you’re using Nginx, there should be a similar process. I’m not as familiar with it, but someone might comment with directions.

You also have to have your domains registered somewhere and point to the Linode DNS servers.

-- sw

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct