Author Topic: How to Change Site IP Address  (Read 12588 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
How to Change Site IP Address
« on: March 22, 2018, 02:57:57 PM »
Hi

I want to give a special ip for each website. how can I do this?

example

aaa.com  : 187.158.62.32
bbb.com  : 107.187.25.95
ccc.com   : 90.107.65.45

I want to create it with different ip addresses like this. I have more than one ip address on the server.
« Last Edit: March 22, 2018, 03:00:32 PM by glen »

Offline
**
Re: How to Change Site IP Address
« Reply #1 on: March 22, 2018, 04:35:13 PM »
Point the sites A record to the ip address you want to use in DNS , just make sure the IP has been added to the servers adapter first

Offline
*
Re: How to Change Site IP Address
« Reply #2 on: December 06, 2018, 11:37:47 AM »
Hi

I want to give a special ip for each website. how can I do this?

Offline
**
Re: How to Change Site IP Address
« Reply #3 on: December 06, 2018, 12:14:16 PM »
you can add a www record for each domain to its own ip address and add the ip addresses to the servers network cards or as virtual to the single network card your isp will need to give you ip addresses

Offline
*
Re: How to Change Site IP Address
« Reply #4 on: December 06, 2018, 04:40:08 PM »
Or go to "User Accounts" -> "list Accounts" Edit the account that has the domain you want to have its own ip and change the sites IP there.

Offline
*
Re: How to Change Site IP Address
« Reply #5 on: February 16, 2019, 09:28:13 AM »
Click on the domain name for which you wish to change the IP address. Click on your site hostname. Select the IP address you wish to use for this domain. Click on the Update button to save your changes. Click on the Site tab.

Offline
*
Re: How to Change Site IP Address
« Reply #6 on: February 16, 2019, 11:10:50 AM »
Create file: /etc/sysconfig/network-scripts/ifcfg-eth0:0
DEVICE="eth0:0"
BOOTPROTO=static
ONBOOT=yes
TYPE="Ethernet"
IPADDR=80.80.25.25
#HWADDR=00:0C:29:28:4C:4C
#GATEWAY=80.80.25.1
NETMASK=255.255.255.0

do this for each additional IP address, you only need to increase virtual interface number by one for each additional IP.
Like eg. eth0:1, eth0:2, eth0:3 …

**if you don’t have HWADDR then delete that line.

Restart Network

service network restart
Check all IP’s configured on the server

ifconfig

if your new IP address is listed then you have successfully added a new IP address.