New to setting up webservers from scratch, was used to IT taking of these things for me 😅
I figured out how to setup Apache and creating dummy websites via localhost. This is what I have so far -
Created a Windows 11 VM, using VMWare
Installed Apache using chocolatey, and configured a VirtualHost, and added a new entry under hosts file, and I can visit the dummy domain locally on the VM
Now I am trying to visit this domain from my host machine (eventually from the outside world). And followed the instructions here - https://kb.vmware.com/s/article/2006955, but no luck.
I've searched for videos on youtube, but most of them are for linux os'. Can someone kindly guide me how to reach the dummy domain from my host machine please
Don't know what it is 100% yet, but the same setup works fine on a Windows Server 2016 OS 🤷♀️
Thinking it's prolly firewall and stuff on Windows 11 OS, will try to figure it out a bit later. Crisis averted for now 😅
Related
I have consulted some references already:
Running ie on your mac free
This thread
And this thread
I am using OSX 10.10.5 and VirtualBox 5.0.16. I am trying to debug some web apps on IE11 using the free virtual machine that Microsoft provides from this site. I am using the Win 8.1 and IE11 image.
My understanding is that I should be able to just make an adjustment to the VM's hosts file and then I can access localhost through 10.0.2.2 However, that has not been the case.
I have tried various entries:
10.0.2.2 localhost
10.0.2.2 outer
10.0.2.2 subdomain.localhost - one thread suggested trying this
I have also tried changing the network setting for the image in VirtualBox. I have tried both NAT and Bridged with no success...
No matter what I put in the address bar of IE, it tells me the page can't be displayed. I have tried:
http://localhost
http://localhost:80
http://localhost:8888
http://outer
http://10.0.2.2
http://10.0.2.2:3000
http://10.0.2.2:80
No combination of addresses/hosts file config seems to do the trick. One thread suggested trying ping 10.0.0.2 on the command line in the VM. I tried it and it appears to respond; the output says that 4 packets were sent and received.
I'm very frustrated at this point, and uncertain how to proceed. It also tried this with the Win7 IE11 VM image and didn't have any luck. The other threads on SO seem to suggest that I can just visit 10.0.2.2 with the way the VM is configured out of the box. If anybody has any suggestions, or could point me in the right direction, it would be really helpful!
I have been searching this problem about 4 hours and I got nothing in my hands.
Awkwardly, I'm a Cisco Certified Professional and nevertheless its beyond my experties.
Here is my system:
Linksys CISCO X2000 Modem + Router Combo
1x Static IP Address (212.253.77.69) [Home]
2x LAN IP Address (192.168.1.100 [My Laptop] -- 192.168.1.104 [Bridged VirtualBox Guest Adapter])
demo.webastian.ch [Amazon EC2] --> pointed to 212.253.77.69 [Home]
On My Laptop:
I have a fresh installed "Wampserver (64 bits & PHP 5.4) 2.4"
Windows 8 Professional 64-bit (x64)
Windows Firewall Private/Public off state.
Network Card: 192.168.1.100
I used Demilitarized Zone (DMZ) to route every incoming IP to 192.168.1.100 and even tried to turn off the built-in firewall of CISCO (but not even close to solution), so I don't have to open ports anymore or forward anything through my router.
When you try http://demo.webastian.ch at the moment, you will be penetrating 192.168.1.100:80 of my Local Network.
I did put online the Wamp Server by left clicking to the tray icon.
I can access my web server by:
127.0.0.1
localhost
demo.webastian.ch (I did change the hosts file of windows and set this dns record to 127.0.0.1)
192.168.1.100 (on my laptop and on my iphone)
But I can not reach my web server remotely. (I tried through Edge/3G and my friends computer using teamviewer.)
So I thought it was a windows related problem but it wasnt. Therefore I installed VirtualBox and Server 2003. I used the same configurations except routing the public ip to x.104
I tried modding the httpd.conf, I tried several things that I don't remember each of it (that much) but no response.
On VMBox (Through My Laptop):
I have a fresh installed "Wampserver (32 bits & PHP 5.4) 2.4"
Windows Server 2003 Enterprise R2 32-bit (x86)
Windows Firewall off state.
Network Card: 192.168.1.104
.NET Framework 3.5 SP1 (had to install or wampmanager wont start)
I got a dead end & I'd like to hear some other thoughts.
Thank you in advance!
Please see this handy info on fixing some of WAMP 2.5's little hiccups.
WAMPServer 2.5 release notes and corrections
Your problem is that the script that executed that request ( c:\wamp\scripts\onlineOffline.php ) somehow got released in UNIX format. The above doc tells you how to fix this.
I have parallels installed on my mac and I have installed windows 8 as a virtual machine. I am able to run an application running on the mac localhost in windows 8 but now I would like to run a .net app on the mac (i.e. localhost:50055). I have read numerous solutions but none is working for me. What am I missing?
I just bashed my head against this for a couple of hours too and I think, in the end, the piece I was missing was turning off Windows 8's firewall.
This accepted solution is what clued me into turning off my firewall, as soon as I did that it worked.
Access Parallels Windows localhost from Mac
You'll probably have to "enable" anonymous authentication in Authentication setting in IIS Manager" too according to Matt Gibson's solution.
What I ended up doing:
Found the VM's ip address by pulling up the command prompt and typing ipconfig
Updated my Mac's host file by adding the VM's ip address (in my case it was 10.211.55.3)
Checked Parallels VM Setting -> Configure -> Hardware was set to Shared Network
Windows Firewall - turned off for Private Network Settings (Control Panel\System and Security\Windows Firewall\Customize Settings)
Checked IIS Authentication -> Anonymous Authentication is Enabled
This worked for me, hopefully it'll work for you too.
I am running Ubuntu 10.10 and also Windows 7 under vmWare Workstation within Ubuntu.
My internet connection in vmWare is shared from the host as 'NAT'
I am using XAMPP on Ubuntu for developing sites. I use http://localhost/mysite to open the site under development in Ubuntu.
I wanted to use a similar command to open these sites in the Windows 7 installation under vmWare.
While browsing some of the topics I came to know that it is possible by using some IP of 'NAT'.
I am totally new to Linux and vmWare both. Just migrated to Linux from Windows and need help understanding it in detail.
Kindly help me with the process of How to access these sites in vmWare.
Please help.
VMWare's installer should set up a new network interface on your Ubuntu system, check ifconfig -a to find its IP address.
Make sure your webserver is listening on either 0.0.0.0 OR (127.0.0.1 AND the vmware-interface IP address).
From the Windows system, try typing in http://<vmware-interface-ip>/mysite. Hopefully it'll go. You can check the windows networking control panels to see what the gateway address is, it'll probably match.
I hope this gets it going for you.
I need to access my http://localhost/ (in IIS 6 on VM) from the MAC Host (Safari).
I am using NAT (or can use Bridged) network connection to the Guest, but not sure how to identify IP addresses, etc. A novice when it comes to networking ;-)
Thanks,
Geoff
A simple solution if you want a consistent hostname is to install Bonjour for Windows in the VM with bridged networking and then use http://computername.local in Safari.
It's possible to forward ports from a NATed VM too or ensure a consistent IP address if you want; some instructions are here.
In Safari, you should be able to type in the IP address of your VM and be able to access IIS that way. Firewall settings permitting of course, but I assume you've set that up already.
If it doesn't work, could you please post more details about your current setup (VM software being used to run the guest, OS X version, Windows version) and I'm sure we'll be able to troubleshoot further.
Just try to off Windows firewall on your virtual machine. This works for me in NAT mode.
Also, as mantioned before, is nice to have Bonjour for Windows installed to have more useful URL.