Why can't my friends access my website built with Apache2? - apache

So, I have been building this website with HTML and I decided to host it with on Apache2. It runs on an Ubuntu and me already changed the VM assigned Ip, which is 10.2.0.15, into another one. I can access it on the Mac where the VM is, but I asked my friend if he can open it, and he said it was a 404 Server not found error.
Please help!

You probably need to enable port forwarding:
https://www.howtogeek.com/122641/how-to-forward-ports-to-a-virtual-machine-and-use-it-as-a-server/
You haven't indicated what VM software you are using, but the above is for VirtualBox. VMware is a bit different. Also make sure your router is not blocking any packets or any firewall.

Related

I can not access localhost on other devices on my router

Good morning,
Today I tried to set up a Apache 2 server on Ubuntu 18.4 LTS, and yet while the localhost page works fine on my browser, it does not show the web page on any other devices. Why will it not display
(P.S. I am a beginner at networking, so if this is a dumb question, please just let me know
localhost always points to the "local machine". To access the Apache server from a second computer, you'll need to use the IP address for it.
For example, if the Apache server's IP is 192.168.123.456, you would use http://192.168.123.456 from the second computer. If you went to http://localhost on the second computer, it would be looking for a web server on that second computer.

xampp - site only works when connected to my wi-fi network

I've recently set up a personal website for prorgams I make and set it up over at www.ioi-xd.xyz. The website looks fine when connecting on my computer or when accessing it over wi-fi. However, I've seen friends who aren't on my wi-fi having trouble with the site, and after attempting to access the site on a phone that isn't connected, I can confirm that the site only works when connected to my wifi.
I am running XAMPP v 3.2.2, with Apache 2.4. My port is :80 and my SSL is :4433. I have tried uninstalling and reinstalling XAMPP, to no avail. I've also disabled my firewall completely, including my domain network. Nothing I do seems to work though.
Found the answer myself. Wasn't aware of this so I might as well post this for those scratching their heads like I just was an hour ago.
Most ISPs block the ability to host sites on wi-fi. This isn't something (at least that I'm aware of) that you can change. You will have to use a website host such as Hostinger.

Reset IP on an Avocent DSR2035

Got this legacy Avocent DSR2035 KVM over IP. Works! Anyone knows how I edit the TCPIP setting on this machine? I have access to the console, it works, but there is no IP settings in any of the menu!
It took some time to figure this out. I had to upgrade firmware first and that was done through the setup port in the back and using a special cable that I built. After the fw update, there were network settings in the standard interface.

RasPi SSH Not Working

I'm using Mac OS X and trying to SSH into my pi. I have the pi boot up in front of me, and I can see that the IP address is 192.168.0.13.
However, if I ping the router on the A Record address I assigned to it, it responds.
When I boot the Raspberry Pi up, it showed:
My IP address is 192.168.0.13
Raspian GNU/Linux 7 subdomain.domain.com tty1
subdomain login:
I was surprised that it showed the subdomain and domain on login (I'm a Linux newbie).
Ever since i set up the subdomain to go to my pi and set up the port forwarding and firewall exceptions on my router, I never really used the pi itself, I always SSH into it. It stopped working for the past week for some reason. There's nothing I installed recently except nginx, but that shouldn't affect it right?
Any troubleshooting advice? Can't seem to find anything newbie-friendly online.
Will be more than happy to provide more information, as I think I haven't provided enough here but don't know what else to add!
Many thanks in advance :)
EDIT: I was pinging the incorrect address! It's ...0.13 not ...1.13 :) Apologies!

How to configure VMware workstation for VHD

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.