Use easyengine multisite WordPress with multiple IP


#1

Hello,

I would like to know the commands and the procedure to use easyengine multisite with several dedicated Ip.

I use for 1 website: sudo ee site create domain.com --user = username --email = contact@contact.fr --php7 --wpfc --letsencrypt

I would like each domain to point to 1 IP and be on 1 VPS.

Is that in this case I can use WordPress multisite?

thank you in advance cordially


#2

Hello,

you can use a dedicated IP for each website (with subdomain or domain mapping, not with subfolder multisite), but it’s not a common EasyEngine configuration, so you may have to edit or create some nginx configuration yourself. To use a dedicated IP for a website, you just have to edit the file ssl.conf available in /var/www/yourdomain.tld/conf/nginx, and to set the IP in the directive listen, it should look like :

    listen 192.168.1.1:443 ssl http2;
    ssl on;
    ssl_certificate /etc/letsencrypt/live/yourdomain.tld/fullchain.pem;
    ssl_certificate_key     /etc/letsencrypt/live/yourdomain.tld/key.pem;

But to add more domain, you will have to create a new nginx vhost for each domain and to set the IP


#3

Thank you for your answer, it’s a pity that easyengine do not allow it because I think that if it is high traffic websites it is better than each website to 1 IP.

Cordially


#4

Hello @araxy, In my opinion, it will not make any difference to use a dedicated IP or not. For high-traffic websites, I recommend you to take a look on [Cloudflare][https://cloudflare.com) services, it will decrease your server load and bandwidth usage and you will not have to care about using a single IP for all your sites (Cloudflare CDN act as a reverse-proxy ).