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 27th December 2009, 08:20
wolfking789 wolfking789 is offline
Junior Member
 
Join Date: Dec 2009
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Exclamation If installed on localhost, how would you add a site?

How do you add sites in ISPConfig3? I installed it using the howtoforge Ubuntu 9.04 server tutorial. It is installed on server1.example.com, which isn't a real domain.How do you configure the site to work with ISPConfig3?How would you also use email? My last question is how do you point the site to ISPConfig to do all this anyway?
Reply With Quote
Sponsored Links
  #2  
Old 27th December 2009, 14:51
oilyflutesalad oilyflutesalad is offline
Member
 
Join Date: Dec 2009
Posts: 48
Thanks: 2
Thanked 11 Times in 9 Posts
Send a message via MSN to oilyflutesalad
 
Default

When you install your flavour of Linux, you have to use a real domain name that you actually own. For example, I purchased halfbakedhosting.co.uk from UK Cheapest a few days ago, so in my setup I used this:
Code:
server1.halfbakedhosting.co.uk
I'm running CentOS for my install, so I'm not 100% sure if the command will be the same for you on Ubuntu but there's a good chance it will be. Try typing the following lines to update the hostname of the server:
Code:
hostname server1.[realDomain]
reboot
Replace [realDomain] with a domain name that you own. The reboot is just to make sure it updates the system properly. To update ISPConfig, go into phpMyAdmin (access it from another computer on the network using the server's local IP address, eg http://192.168.1.100/phpmyadmin ). In the table you created for ISPConfig (default is dbispconfig) go into the "server" table and change the value of server_name to your new hostname.

Sites can be added from the "Sites" tab of your admin panel, or you can create a client user and login with that to keep them seperate from the admin stuff. I haven't played with email yet (I dislike the idea of being forced to have postfix installed for a start, when sendmail works just fine for what I need). To point a domain to your ISPConfig server you would need to set up name servers to resolve the addresses, but I haven't worked out how to do that yet so can't offer any help.

NOTE: I've only just got ISPConfig installed in the last 10 minutes or so, so I may not have included all the steps required to correct it, though it should be a good starting point and I'm sure a dev will correct me if I'm wrong

(not bad for a first post me thinks )



EDIT: I just noticed in ISPConfig there is somewhere you can update the hostname WITHOUT having to use phpMyAdmin to change it manually. Log in as admin, then on the System tab click "Edit Server" in the Server menu. Click on your server's name in the list on the right and there's a textbox right at the top to type in your new hostname. You still have to change it on the server itself though, this is just to let ISPConfig know the new hostname.

Last edited by oilyflutesalad; 27th December 2009 at 15:06.
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
freebsd 7, samba 3, domain controller alexdimarco Suggest HOWTO 6 5th November 2010 16:54
Can add a site, but the www files are not accessed badran Installation/Configuration 4 21st April 2008 11:41
dovecot problem sojic Server Operation 21 23rd March 2008 18:22
Question about Virtual Hosting With Proftpd And MySQL (Incl. Quota) On Debian Etch ikkem HOWTO-Related Questions 30 26th February 2008 19:38
Add Existing Site to Client? mphetameme General 3 10th September 2006 00:59


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


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