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
Unable to browse WP site on VM
-
scottgus1
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: VirtualBox+Oracle ExtPack
- Guest OSses: Windows, Linux
Re: Unable to browse WP site on VM
I have anecdotally seen Linux OS's fail to completely respond to IP address changes. If you are using Bridged and your guest was working before, then it appears that your Virtualbox is still working, and you'd need to get the guest Linux OS to fully reset itself.
I don't know how to do that, though. Web-search how to change IP address range on Linux OS, maybe there will be a clue.
If you were not using Bridged, what were you using?
I don't know how to do that, though. Web-search how to change IP address range on Linux OS, maybe there will be a clue.
If you were not using Bridged, what were you using?
Re: Unable to browse WP site on VM
Hi,scottgus1 wrote:I have anecdotally seen Linux OS's fail to completely respond to IP address changes. If you are using Bridged and your guest was working before, then it appears that your Virtualbox is still working, and you'd need to get the guest Linux OS to fully reset itself.
I don't know how to do that, though. Web-search how to change IP address range on Linux OS, maybe there will be a clue.
If you were not using Bridged, what were you using?
I'm running Bridged here. Also I have changed the IP address of the VM to 192.168.1.101. Ifconfig shows it correct.
But running;
/192.168.1.101/site1/wp-admin
OR
/192.168.1.101/site1/wp-login.php
taking prolonged time and finally popup "Time Out"
Regards