Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 31st March 2007, 06:22
webdev316 webdev316 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default 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?
Reply With Quote
Sponsored Links
  #2  
Old 31st March 2007, 09:15
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

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
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
  #3  
Old 31st March 2007, 16:32
webdev316 webdev316 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #4  
Old 31st March 2007, 16:46
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
Default

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
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
The Following User Says Thank You to edge For This Useful Post:
webdev316 (1st April 2007)
  #5  
Old 1st April 2007, 02:22
webdev316 webdev316 is offline
Junior Member
 
Join Date: Mar 2007
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default

that did it. Thanks edge
Reply With Quote
  #6  
Old 1st April 2007, 09:09
edge edge is offline
Moderator
 
Join Date: Dec 2005
Location: The Netherlands
Posts: 2,034
Thanks: 265
Thanked 151 Times in 131 Posts
 
Default

You are welcome.
__________________
Never execute code written on a Friday or a Monday.
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Not able to send/Receive mail in local network mskumar_y2k Installation/Configuration 3 12th April 2006 23:37
Viewing website from with local network using DSL Roadracer Installation/Configuration 3 27th March 2006 05:49
Perfect Xen 3.0 setup for Debian gurneyzap HOWTO-Related Questions 4 26th March 2006 11:30
how to test a site on local network fuchsbox Installation/Configuration 4 17th December 2005 08:34
Can't see webpage on local network lsb Server Operation 2 11th September 2005 18:33


All times are GMT +2. The time now is 02:59.


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