Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

kankai's avatar

How to create multiple ip addresses on single server

Hi guys,

I'm new to server and server network, i have few project that need to host few website on single centos server and also with different ip addresses.

I have google on it and get some solution that server need IIS but i'm have no idea how to setup IIS to server.

Is there any requirement for server to setup this multiple ip addresses on single server?

0 likes
3 replies
douglasakula's avatar

I mainly use AWS for this and to get multiple IP addresses for my server. I would acquire the ip addresses within AWS then associate them with the server instance or network interface.

Tray2's avatar

You don't really need to have multiple ip addresses to host multiple sites. Just virtual hosts för each site.

If it's a more permanent solution i'd use this guide that does it all and lets you manage the sites with a nice gui.

https://www.howtoforge.com/tutorial/perfect-server-centos-7-apache-mysql-php-pureftpd-postfix-dovecot-and-ispconfig/

If you really need to have one ip per site then I'd set up a VM with lamp or lemp for each.

https://www.howtoforge.com/tutorial/centos-lamp-server-apache-mysql-php/

https://www.howtoforge.com/tutorial/install-nginx-with-php-and-mysql-lemp-stack-on-centos/

That is of course if you host the pages on a local server and not in the cloud.

Please or to participate in this conversation.