HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials

HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials (http://www.howtoforge.com/forums/index.php)
-   General (http://www.howtoforge.com/forums/forumdisplay.php?f=15)
-   -   how to view site on local network (http://www.howtoforge.com/forums/showthread.php?t=11791)

webdev316 31st March 2007 07:22

how to view site on local network
 
Hi:

This may sound like a retarded question but I'm new with ISPconfig and linux. I have installed Ubuntu 6.06, and ISPConfig successfully on a separate box on my local network. I'm just using it for developing purposes. I created a site in ISPConfig with the following settings:

Server: Server 1
Hostname: www
Domain: a.projects.org
IP Address: 192.168.1.200
Create DNS: 0
Create DNS-MX: 0

I can ftp files to the site with no problems. If I open a web browser and just put in the ip address I get:
" This IP address is shared. For access to the web site which you look for, enter its address instead of its IP."

What am I missing? I've tried just a.projects.org but I get nothing. Based on the settings above, what do I need to type into my browser to access the site?

edge 31st March 2007 10:15

Add the IP and domain to the hosts file of the PC that you are using to access the site.

In Windows the hosts file is located in c:\windows\system32\drivers\etc

webdev316 31st March 2007 17:32

Ok, I added the ip along with hostname to my host file in windows. I am now able to type in the "a.projects.com" in my browser and it does go to my server. However I'm still getting the Shared IP error. I think I'm missing something in ISPConfig or something on my server. Do I need to update my hosts file in ubuntu?

edge 31st March 2007 17:46

did you add "a.projects.com" to ISPconfig, or only "projects.com"?
If only "projects.com", login on ISPconfig, go to ISPmanager > projects.com > Co-Domains > New and add in hostname "a" and in domain "projects.com"

If you want to access "projects.com" from the PC than you will also need to add the IP and projects.com to the hosts file

webdev316 1st April 2007 03:22

that did it. Thanks edge

edge 1st April 2007 10:09

You are welcome.


All times are GMT +2. The time now is 01:30.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.