Quantcast
Channel: Ubuntu Forums - Virtualisation
Viewing all articles
Browse latest Browse all 4211

[ubuntu] Can't connect websites on VM

$
0
0
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

ifconfig shows IP address correct.

But websites can't be login to admin

Running
192.168.1.101/site1/wp-login.php

It took prolonged time and finally failed with warning;
Code:

The connection has timed out

The server at 192.168.0.216 is taking too long to response
.......

It shows IP address 192.168.0.216.

Please advise how to fix the problem? Which file I have to edit? Thanks

Regards

Viewing all articles
Browse latest Browse all 4211

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>