Jump to content

local website lost on changing the network


Recommended Posts


I am using vagrant to fire up my local server. 

My hosts file for firing the server using the mobile network is as below:


# localhost name resolution is handled within DNS itself.
#       localhost
#    ::1             localhost
#    mssplus.mcafee.com

#    franchisee.com        # Using Office WIFI    franchisee.com        # Using Mobile WIFI


and my corresponding Vagrantfile is :-


# -*- mode: ruby -*-
# vi: set ft=ruby :

Vagrant.configure("2") do |config|
    config.vm.box = "syone/lamp"

   # config.vm.network "public_network", ip: ""     # Using Office WIFI
    config.vm.network "public_network", ip: ""    # Using Mobile WIFI      
        #Vagrant v2.0+




With these settings I am able to access my website using chrome on windows. 

However if I change the settings for using the Office WIFI, i.e. comment out the lines for Mobile Wifi and un-comment those for the Office Wifi,  I get the following error.


This site can’t be reached

franchisee.com took too long to respond.


Checking the connection

Checking the proxy and the firewall

Running Windows Network Diagnostics


I am sure that previously I have made the switch numerous times and it worked. I wonder why I am unable to switch networks !? I have cleared the DNS Cache as well as the chrome browsing data but that did not help either.

Hoping that someone can shed some light on this.

Thanks all !


Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.