Solved

unable to access domain website

Posted on 2014-10-22
2
183 Views
Last Modified: 2014-10-23
Dear experts,
I've used site to site VPN connection to connection two different LAN together. one is under 192.168.100.xxx and the other is under 192.168.101.xxx

When I tried to test out the web server on a WAMP stack, I was able to access with the PC from 192.168.100.xxx but having problem with the 192.168.101.xxx

I've created a host name for the web server which is 192.168.100.66 which is web.app

If I tried to access from the same subnet, I am able to run the web page without any issue.

If I tried to access from the different subnet, I need to type in the IP as in 192.168.100.66 instead of web.app

Here is example:

http://190.168.100.66/system/list.php <-- I have to type this if I want to access from different subnet.
http://web.app/system/list.php <-- I can access this or the above if I am in the same subnet as my web server.

I wish to know how can I resolve this and allow users from different subnet to simply access my web by typing http://web.app/ instead of http://192.168.10.66? Is there a way that I can reconfigure this either in apache.conf or httpd.conf, or php.ini? Thanks.
0
Comment
Question by:Kinderly Wade
2 Comments
 
LVL 4

Accepted Solution

by:
bominthu earned 500 total points
ID: 40397432
It is very simple. In site 192.168.101.xxx , make sure you use DNS server address of 192.168.100.xxx

If you have DNS server in 192.168.101.xxx , make sure your DNS records from 192.168.100.xxx are replicated to 192.168.101.xxx or create A record manually.

If you don't have DNS server in 192.168.101.xxx , you either use DNS server IP of 192.168.100.xxx or modify host file(%systemroot%\system32\drivers\etc\host)  in user machine that point your web server ip 192.168.100.xxx to web.app
0
 

Author Closing Comment

by:Kinderly Wade
ID: 40398695
Right on bominthu! You nailed my question right on the spot.
0

Featured Post

PRTG Network Monitor: Intuitive Network Monitoring

Network Monitoring is essential to ensure that computer systems and network devices are running. Use PRTG to monitor LANs, servers, websites, applications and devices, bandwidth, virtual environments, remote systems, IoT, and many more. PRTG is easy to set up & use.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If your site has a few sections that need to be secure when data is transmitted between the server and local computer, such as a /order/ section for ordering or /customer/ which contains customer data, etc it would of course be recommended to secure…
If you don't have the right permissions set for your WordPress location in IIS, you won't be able to perform automatic updates. Here's how to fix the problem.
This video shows how to quickly and easily add an email signature for all users on Exchange 2016. The resulting signature is applied on a server level by Exchange Online. The email signature template has been downloaded from: www.mail-signatures…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

825 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question