cloud-computing
Dec 1, 2020
1 min
How to make a site IP based Solution:
N
NewPush TeamAuthor
A) Converting a Name-based site to a ip-based site login as root and run the command:
EditVirtDomain -c ipinfo,namebased=0,nbaddrs=[],ipaddrs=[n**ew_ip_addr*] domain_name* where new_ip_addr is the new ip address domain_name is the domain name of the site
e.g. EditVirtDomain -c ipinfo,namebased=0,nbaddrs=[],ipaddrs=[10.5.3.2] mydomain.com
** B) Converting an ip-based site to a Name-based site** login as root and run the command:
EditVirtDomain -c ipinfo,namebased=1,ipadrs=[] domain_name where domain_name is the domain name of the site
e.g. EditVirtDomain -c ipinfo,namebased=1,ipaddrs=[] mydomain.com