• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Configuring 2 IP address for a single domain

MathewS

New Pleskian
Hello,

I do have a server where I have installed Plesk control panel. The server has 2 IP address (one private IP (LAN) and one Public). I have hosted the new domain on my Public IP. If I want to access the same site in my LAN using the local IP, what shall I do? If I access the site using Valid IP it will be slow plus there are 30 Users for the site in our office. The valid IP is used for the accessing the site from outside our office.

Please suggest me a way so that I can access the same site if I use http://local ip.com and Http://public IP.com

Thanks
Mathew Sunil
 
You have apache config file and just copy this part (where your outside IP is):
<VirtualHost XXX.YYY.ZZZ.WWW:80> (of course put your local IP in the new pasted part).
... a lot of directives ...
</VirtualHost>

If you have plesk, put this things in vhost.conf file (check http://kb.odin.com/en/894).

I believe it should solve it. Anyway check apache configuration files.
 
Back
Top