Solved

unable to access domain website

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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
json_decode return null? 8 55
IIS 8.5 2 44
IIS url rewrite rule for web application 3 47
.htaccess file settings 4 36
This is a guide to setting up a new WHM/cPanel Server to be used for web hosting accounts. It is intended for web hosting company administrators and dedicated server owners. For under $99 per month (considering normal rate of Big Data Cetnters like …
Meet the world's only “Transparent Cloud™” from Superb Internet Corporation. Now, you can experience firsthand a cloud platform that consistently outperforms Amazon Web Services (AWS), IBM’s Softlayer, and Microsoft’s Azure when it comes to CPU and …
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

760 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

21 Experts available now in Live!

Get 1:1 Help Now