What is the way to access my website on Apache server computer throw internet from anther pc - apache

I am new on computer networking. I install Apache server on my Ubuntu desktop computer. And i made a website on this PC. When i connect my PC With internet using a dial-up (Mobile Broadband) modem then i find my public IP or IPv4 address on my connection status. When i type this IP address on my PC browser it runs my web-app or website. But when i use the same IP address on my another computer that can't open my website. I also try IIS server with windows server and windows desktop. My public IP work only my PC but not other PC. Can anyone tell me what is the way to connect my PC or Server with internet and people can access my web-app from internet.

Did you try ping? If you cannot reach the server using that method, your connection problem has nothing to do with the web server. That's a start :-)

Related

Wamp local ip add a local domain name

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

How could I access my VM in my host machine (By different IP)?

I want to access the virtual machine IP in the host (by ping or curl or something), but it is not ok. How could I make it?
The host machine is a win10 PC.
A virtual machine using VMware workstation 15, Ubuntu 16.04 server. It has IP address 192.168.178.138 and 10.0.0.11. I can access the 192.168.178.138, but cannot access 10.0.0.11. (no matter ping or curl...)
All are NAT mode in VMware Workstation.
Now I have a web application running on 10.0.0.11:80. How could I access it in my host machine.
Btw I have another VM with 192.168.178.39 and 10.0.0.31, and this VM can access the 10.0.0.11:80 by curl.
I can show the topo as below.
(A little Chinese but it won't affect reading, just ignore it)
Yes, now I solve this question by myself.
It seems that you cannot use the Host-only mode (Actually I can only use this mode...).
You need to set the virtual interface in your host PC (The IP, gateway, or anything else...);
Then you need to set in the VMWare workstation, set it to use speical lan (VM net 2 for me);
Then you can access it from the host machine and other vm, maybe you need to search something like NAT translation in VMWare workstation to access your web application deployed in the VM from outer network.
That's what I do, now I can access my horizon dashboard in the browser (The Ubuntu server don't have any browser... T-T sad ...)
Settings Picture

Cant access internal http server via mobile device

I am running an Apache server (WAMP .- Windows / Apache / MySQL / PHP installation).
I am running a HTTP server for some development I am doing. This project involves comunicating with a HTTP server running Firebird.
Now, all is well until I try use the external IP address from a mobile device to access the server. Then it just times out.
I have correctly setup port-forwarding on the router and everything is accessible from ANY other computer. So the url goes something like this..
http://70.12.123/scriptToRun.php
To test this, I have connected from another computer on the LAN and it connects fine. I have used Teamviewer and connected from a computer NOT on the LAN. That also connects fine.
However, whenever I try to use the same url from a mobile device (phone) it just times out.
Anyone have any ideas why I cant connect using a mobile ?
Dave

connect to siebel client with local ip address

I have installed siebel client and tools on my Virtual Machine.
I can access the siebel web client using http://localhost/start.swe?
My goal is to connect to Siebel web client on Virtual Machine from my local machine.
why cant i acces the client using my VM local ip address like http://10.0.x.x./start.swe?
Please let me know what i am missing.?
I havent install Siebel Enterprise server and Siebel Web Server Extension.
Do i need that ??
There are a few things you would need to check such as firewall, NAT and port forwarding settings.
This link walks you thru an example.
Hope this helps

Connect to website via mobile device

I have create a website in php that runs on apache.
I have copied over the project folder to the www folder in WAMP and created an alias for it.
I have an active wifi connection but want to host the site from my laptop to be accessed on mobile devices. So I created a hotspot using the following command in Admin CMD:
netsh wlan set hostednetwork mode=allow ssid=NetworkName key=NetPassword
netsh wlan start hostednetwork
This creates a Microsoft Hosted Network Virtual Adapter. In adapter settings, I went to properties on my Wifi connection and allowed the created hotspot to have internet access.
My phone is now connected to the created network, however, when I try to access the website, Chrome on my device says that the web page is not available.
I used mypcname:8080/alias/ to connect to the website.
What could I be doing wrong and how can I fix this?
Thanks
have you tried adding http:// to the front, as your webserver is not on the http default port you need to tell the browser what protocol to use