I am newbie here, so, I have domain question.
debian + virtualmin, when i created servers in virtualmin I assigned 3 different IPs to 3 different servers. I did the same at VPS hosting website, I created DNS zones.
mysite1.com has IP 22.214.171.124
mysite2.com has IP 126.96.36.199
mysite3.com has IP 188.8.131.52
so, it is OK in virtualmin and VPS hosting site, but when I created wordpress sites, all 3 got the same IP: 184.108.40.206, it means if I try to type http://220.127.116.11/~mysite2.com
I don't get anything,
now I visited domain website and I understood I can not change A input to IP 18.104.22.168 than I must use for all 3 sites the same basic IP: 22.214.171.124
I saw the whole problem when i wanted to change IP at domain register. I logged in and I must add only basic IP.
by the way, all 3 wordpress websites are created in
it means virtualmin created users as I wanted, but how to give them different IPs? in virtualmin it is different but not in reality.
for example in Virtualmin - server configuration - dns records:
mysite2.com A - IPv4 Address 126.96.36.199
at virtualmin server mysite3.com is also: mysite3.com A - IPv4 Address 188.8.131.52
but in reality it is working only if I type in web browser: 184.108.40.206/~mysite2.com
so, how to assign second IP to /home/mysite2.com?
I said to friend to buy 3 IP dresses but now I don't know how to set it up for him, to have separated IP for each domain/wordpress site. in wordpress admin backend is also written basic address: 220.127.116.11/~mysite2.com
I had to install wordpress like that before I change IP at domain register (I migrate sites for him, it is all OK except I don't know how to assign 3 different IPs).
I checked now and /var/lib/bind/mysite2.com.hosts and everything is OK, there is assigned IP, 18.104.22.168, and not basic IP.
it is also correct for mysite3.com, 22.214.171.124.
I checked and /etc/apache2/sites-available/
it is OK: <VirtualHost 126.96.36.199:80 then there is IPv6address:80