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 8th June 2007, 02:43
Broady Broady is offline
Junior Member
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation View Website Internally (How To)

Hi All,
I am fairly new to Linux and new to ISPConfig. I have just followed the ISPConfig documentation and created a website (broadyswebdesign.com)

I am not sure how to actually view the website. What I mean is that I am trying to view the site inside my network. So using http://www.broadyswebdesing.com always pops up the login box for my DLink DSL-604T router.

My internal IP address for my Linux server is 10.1.1.2

So I guess I have to view my site by going to http://10.1.1.2/[website]
I am not sure what the rest of the url should be. This is the first site created in ISP.

My current host file looks like this:
Code:
127.0.0.1   localhost.localdomain localhost
123.108.66.3  server1.broadyswebdesign.com  server1  localhost.localdomain
i hope this all makes sense. Mainly I want to know how to view my website and view it internally if possible.

Any help is greatly appreciated
Thanks
Reply With Quote
Sponsored Links
  #2  
Old 8th June 2007, 07:37
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
Default

You need to add a line to the hosts file (on the machine from which you are trying to access the server).

10.1.1.2 www.broadyswebdesign.com

In your example above it would be below the 2 listed.
Reply With Quote
  #3  
Old 8th June 2007, 07:48
Broady Broady is offline
Junior Member
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Quote:
Originally Posted by chuckl
You need to add a line to the hosts file (on the machine from which you are trying to access the server).

10.1.1.2 www.broadyswebdesign.com

In your example above it would be below the 2 listed.
How exactly would I add the above to the hosts file?

Like this:
10.1.1.2 www.broadyswebdesign.com broadyswebdesign ?

Thanks
Reply With Quote
  #4  
Old 8th June 2007, 08:19
chuckl chuckl is offline
Senior Member
 
Join Date: May 2007
Location: Uxbridge, Middlesex, UK
Posts: 166
Thanks: 1
Thanked 20 Times in 20 Posts
Default

Exactly as I wrote it, or your example is probably fine as well. Just make sure there is a space or 2 between the IP address and the name. If it is a Windows box, be very careful of Notepad, Wordpad etc as they love adding a 'hidden' .txt extension, which will break everything. A DOS commandline edit is safest.
On a Windows system, the hosts file is hidden off the main Windows folder on C:

e.g. C:\Windows\system32\drivers\etc\hosts
Reply With Quote
  #5  
Old 8th June 2007, 10:22
Broady Broady is offline
Junior Member
 
Join Date: Jun 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
 
Default

Thanks all for your help, I got it working. I changed the hosts file on Windoze and the Linux Box and now I can view the site by http://www.broadyswebdesign.com
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
Apache not reading conf? /var/www directory displayed when visiting any ISPC website toodles Installation/Configuration 2 15th February 2007 23:06
How To View Website Using The IP tchubb General 9 13th February 2007 16:56
after install Apache..outside server cannot view webpage vktechnology Installation/Configuration 3 15th May 2006 15:51
Website of Created User not working and Webmail Login Problem techman83 Installation/Configuration 5 28th February 2006 15:05
Website of Created User not working and Webmail Login Problem techman83 Installation/Configuration 1 27th February 2006 23:44


All times are GMT +2. The time now is 22:11.


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