Unable to browse WP site on VM
Posted: 5. Oct 2020, 17:09
Hi all
Host OS - Ubuntu 20.04 desktop
VM OS - Ubuntu 20.04 desktop
I have WordPress sites created on VM sometimes ago. At time of their building the LAN Address of the VM was 192.168.0.101. The WP sites are on;
/var/www/html/site1
/var/www/html/site2
/var/www/html/site3
/var/www/html/site3
etc.
To browse the WP sites just on browser ran;
/192.168.0.101/site1
/192.168.0.101/site2
/192.168.0.101/site3
/192.168.0.101/site4
etc.
Now the router IP address has been changed to 192.168.1.1. I have changed the VM IP address to 192.168.1.101, replacing 0 with 1.
Websites can't be browsed on LAN. Visiting 192.168.1.101/site1 it always looks for 192.168.0.101/site1
Please advise how to fix the problem? Which file I have to edit? Thanks
Regards
Host OS - Ubuntu 20.04 desktop
VM OS - Ubuntu 20.04 desktop
I have WordPress sites created on VM sometimes ago. At time of their building the LAN Address of the VM was 192.168.0.101. The WP sites are on;
/var/www/html/site1
/var/www/html/site2
/var/www/html/site3
/var/www/html/site3
etc.
To browse the WP sites just on browser ran;
/192.168.0.101/site1
/192.168.0.101/site2
/192.168.0.101/site3
/192.168.0.101/site4
etc.
Now the router IP address has been changed to 192.168.1.1. I have changed the VM IP address to 192.168.1.101, replacing 0 with 1.
Websites can't be browsed on LAN. Visiting 192.168.1.101/site1 it always looks for 192.168.0.101/site1
Please advise how to fix the problem? Which file I have to edit? Thanks
Regards