Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 12th April 2012, 11:18
kedomingo kedomingo is offline
Junior Member
 
Join Date: Apr 2012
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Running ISPConfig on local network and hosting websites on same server

Hello, newb here.

I have successfully installed ISPConfig using the natty guide. The problem I have now is this: I am running this in a local server and playing with non-registered domain names.

Let's say the IP address is 192.168.0.1
ISPConfig runs on port 8080
Apache runs on port 80
The host name of the machine is: sandbox.vgm
I can ping this hostname from the local machine (but not from another machine on the same network -- although the IP address can be pinged from a remote machine)

New DNS Zone
I added a new DNS zone from ISPConfig with the following details:

Template: Default
Server: sandbox.vgm
Domain: test.vgm
IP Address: 192.168.0.1
NS 1: sandbox.vgm
NS 2: sandbox.vgm


and it created this record:

A mail 192.168.0.1 0
A test.vgm. 192.168.0.1 0
A www 192.168.0.1 0
MX test.vgm. mail.test.vgm. 10
NS test.vgm. sandbox.vgm. 0



New Website
I created a new website with these settings:

Server: sandbox.vgm
IPv4-Address: *
IPv6-Address: <blank>
Domain: test.vgm
Active: <checked>


I tried accessing the website test.vgm from the local machine and from a remote machine. The server was found but with one problem: I am seeing the default Apache page -- not the new site's page. I am thinking that because the DNS records all point to 192.168.0.1, there is something wrong with mapping the domain name to the virtual host test.vgm.

Is this setup even possible? What changes do I have to make and what settings do I have to check?

Thank you

Last edited by kedomingo; 12th April 2012 at 11:23.
Reply With Quote
Sponsored Links
  #2  
Old 13th April 2012, 17:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,747 Times in 2,578 Posts
 
Default

Do both PCs use 192.168.0.1 as the first nameserver?

Instead of running a nameserver, you can as well modify the PCs' hosts files: http://www.howtoforge.com/forums/sho...s+file+windows
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
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
Postfix/courier/Centos 6 cant send email to external email servers maxtorzito Installation/Configuration 14 7th October 2011 11:56
SquirrelMail login not working glenneh Installation/Configuration 13 9th April 2011 21:01
dovecot: lda: Fatal: Unknown user dpicella Installation/Configuration 1 22nd August 2010 03:59
ERROR: Connection dropped by IMAP server. [Centos 5.4, courier imap,squirrel, etc] darevil HOWTO-Related Questions 7 9th June 2010 15:49
Sending emails with custom FROM email address merisor Installation/Configuration 4 8th February 2010 17:27


All times are GMT +2. The time now is 00:39.


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