Solved

unable to access domain website

Posted on 2014-10-22
2
185 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Guide to Performance: Optimization & Monitoring

Nowadays, monitoring is a mixture of tools, systems, and codes—making it a very complex process. And with this complexity, comes variables for failure. Get DZone’s new Guide to Performance to learn how to proactively find these variables and solve them before a disruption occurs.

Question has a verified solution.

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

Over the last year I have answered a couple of basic URL rewriting questions several times so I thought I might as well have a stab at: explaining the basics, providing a few useful links and consolidating some of the most common queries into a sing…
Lease-to-own eliminates the expenditure of hardware replacement and allows you to pay off the server over time. Usually, this is much cheaper than leasing servers. Think of lease-to-own as credit without interest.
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

730 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