Solved

unable to access domain website

Posted on 2014-10-22
2
181 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

Suggested Solutions

Introduction This article explores the design of a cache system that can improve the performance of a web site or web application.  The assumption is that the web site has many more “read” operations than “write” operations (this is commonly the ca…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Here's a very brief overview of the methods PRTG Network Monitor (https://www.paessler.com/prtg) offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…

932 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

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now