I want to access Virtual machine's localhost using a smartphone for me to see how the website looks like in a phone.
once your smart phone is on the same network, no extra configuration is needed
Related
Ok, I have Wamp on my laptop up and running. I also configured it to be visible on all the devices in my local network, so that I could connect to it on my Phone and other laptops.
I have created a virtual host via wamp tools (Add a Virtual Host) named myexample.etc and it works from the laptop where I am running wamp (the server, let's say). But it doesn't work from other devices connected to the same network. It only works by typing the IP, not by typing the dns created.
Is it possible to do something to access this dns (virtual host) created from other devices in the same network?
Thank you in advance!
I assume you do not actually have a DNS Server running.
So when you say DNS, you mean you change the HOSTS file on the PC running WAMPServer.
This works by seeding the DNSCache on that PC at boot time, it does not and cannot have any effect on any other device in your local network. So there are basically 2 ways to access your website running on WAMPServer.
You amend all the other PC's HOSTS file and add something like this, assuming the WAMPServer PC is on IP Address 192.168.1.10
192.168.1.10 myexample.etc
If you cannot access the HOSTS file on all the other devices such as phones and tablets that have not been jailbroken
Access the site by the IP Address of the PC running WAMPServer, I wrote up a way of doing that on another question, so here is the link
Right now, I'm running my site on my Mac OS X locally via Apache.
I'm trying to reproduce a bug that only happen on iPhone Safari. I'm trying to avoid keep pushing the code to the staging server, pull, and then, test on my phone.
Is there a way to access my local site via my phone? via some kind of IP address?
make phone connect to the same WIFI as MAC OSX
run the server on the non-localhost address (LAN DHCP allocated), noted as SRV_IP
access the SRV_IP from your phone
I am able to hook SharePoint 2010 VHD with vmware. The central admin comes up but port 80 dont even come up. I ran into this http://blogs.msdn.com/b/steve_fox/archive/2010/06/15/rtm-demo-vm-for-sharepoint-amp-office-2010.aspx article but I dont know to perform this in VMWare Station 8. Please suggest.
Ping localhost host gives 127.0.0.1. But I get 404 both on localhost and 127.0.01
Ping to intranet.contoso.com takes a long time and i get request could not find host ....
Binding looks good too.
I am not seeing anything in IIS log . I mean nothing specific to intranet.contoso.com.
Looks like a DNS Issue to me. Try to add intranet.contoso.com to the hosts file as:
intranet.contoso.com 127.0.0.1
If this works then it is definitely a DNS issue, check if the service is running.
Also check if you actually assigned a virtual network card to the box in VMWare.
Update: To add NIC to VM Ware you edit machine settings and add hardware, add a network card as bridged. You can then manage the network card normally inside Windows.
I am currently on a mac using the pre-installed Apache server.
Now I need to cross-browser test some websites, and therefore I need to access my pages on some other computers. How can I make my localhost-sites accessible for other computers on my WiFi (without uploading to another server)?
Thanks in advance.
Apache server's default configuration should allow other computers (even ones not on your local network) to access whatever it's serving up.
You can access your server from another machine by using the IP address of your server. You can find the IP address of your server by finding a console (this works in Windows and Mac machines) and typing in "ipconfig". (For linux machines, it's "ifconfig".)
I am trying to run a virtual LAMP machine on my windows 7 for dev purposes. But i cant figure out how to reach the apache from the host windows 7 system. I did an ifconfig and tried the ipaddress, but to no avail.
If you set virtualbox to use bridged (regular) networking then it's no different from any other machine on the LAN, if you set host only then you can still call it - you just need to know it's IP address.
See http://opensourceexperiments.wordpress.com/2008/04/18/virtualbox-case-study-making-host-only-networking-work-between-two-ubuntu-guest-os-virtual-machine-on-windows-vista-host/
You will need to set the networking mode of your VM in virtualbox.
Bridged will allow others on the LAN
to access your VM.
Host-Only will allow your host and
any other VM's also configured as
host-only to access one another.
Virtual Box Neworking
If you look at the link you will have many different options on the type of networking you can do.
as mentioned earlier, I recommend either:
Bridged networking that makes the box look like an other computer on your network. They you may use ipconfig on the box or verify your router logs.
Host-Only networking is where your windows 7 will be its own network between the box and windows and then you may use the Ip address from ipconfig.