ISPConfig 2.x - First Steps (Creating Web Sites, Email Addresses, Etc.) - Page 3

Want to support HowtoForge? Become a subscriber!
 
Submitted by o.meyer (Contact Author) (Forums) on Tue, 2008-04-08 17:39. ::

2.7 Add A Website

If you want to add a new website click on "ISP Manager" in the top menu and afterwards on "New Site" (the big icon below the top menu) - please note that the following steps are the same as at step 2.6.2. In the main window choose a reseller or admin, a customer (client) and a hostingplan. Click on "next" to proceed.

Next choose a group, a title (that will be shown in the "ISP Manager" menu on the left side) and a folder (this defines to which folder the website will be added) - please note, that if you choose a reseller, the website will be added within the main folder of this reseller. Now you have to configure a few settings for the new client - they are divided in six tabs.

 

2.7.1 Basis

The "Basis" tab contains the main settings for the new site - for example the hostname, domain or optional Apache directives.

 

2.7.2 User & Email

On the "User & Email" tab you can create new FTP-users/email addresses - click on "New" if you want to create a new ISP user (which means a FTP-account and an email address).

The first tab ("User & Email") contains the main settings for the new ISP user, for example the email address and the password (for email and FTP). The checkbox next to "Administrator" is very important - this ISP user will be able to access the website content (the document root) via FTP if you mark it - non-admin users will only be able to access their home directories, but not the document root.

The second tab ("Advanced Settings") contains settings related to the email address, for example to which email adresses incoming mails shall be forwarded etc.

The last tab ("Spamfilter & Antivirus") contains corresponding settings, for example entries for the black- and whitelist or the spam strategy.

When all settings are complete click on "Save" to apply them.

 

2.7.3 Co-Domains

On the "Co-Domains" tab you can create new co-domains (subdomains) for the client's domain. Click on "New" if you want to add a new co-domain. The first tab ("Domain") contains the main settings for the new co-domain - enter a hostname and the parent-domain. You should also mark the checkboxes below to create the needed DNS records. The second tab ("Forward") contains a single field where you can enter a location, to which this co-domain will be forwarded. On the last tab ("Options") you can choose if you want to use the local mailserver or an external one for this Co-Domain (if you have set up some other mail server to handle emails for the Co-Domain, select "External Mailserver", otherwise "Local Mailserver"). Click on "Save" to apply the settings.

 

2.7.4 Statistics

The "Statistics" tab contains statistics for this website. At the moment it's almost empty - later, when this website is in use, it'll contain more information like traffic statistics, etc..

 

2.7.5 Options

The "Options" tab contains a few settings related to the mailserver and the webserver. For example you can define the maximum logsize (relative to the quota in percent or megabytes) or set the DirectoryIndex.

 

2.7.6 Invoice

The last tab ("Invoice") contains the settings for invoices - web, traffic and the domain are separated from each other. You can add additional items if you want.

When all settings are complete click on "Save" to apply them.

 

2.8 Website Content Via FTP

First we have to enable FTP access for the website - have a look at the screenshot below (Basis settings, see also step 2.7.1).

Next we need an ISP user with admin privileges - have a look at the screenshot below (User & Email settings, see also step 2.7.2).

Now you can access the FTP server with the ISP user account. Please note that the contents of your website are located in the folder "web".

 

2.9 DNS Records

You can edit the DNS settings with the "DNS Manager" which is available in the top menu. Select a website from the "DNS Manager" menu on the left site - afterwards you can adjust the DNS settings in the main window, which are divided in three tabs.

 

2.9.1 Domain

The "Domain" tab contains the the domain settings for the website. You can adjust the server, domain and IP address. If the domain should be available to the public, you must enter a public IP address here, not a private one.

 

2.9.2 Options

The "Options" tab contains settings that are related to the name servers, for example the refresh time or the retry time.

 

2.9.3 Records

The "Records" tab contains the settings for DNS records. You can create/edit A-records, MX records, CNAME records, and SPF records.

 

2.10 General Information / Troubleshooting

2.10.1 Statistics

Statistics will be created in the night (by default at 4:00am). Please note that new or changed passwords in ISPConfig will affect the statistics not until 4:00am. Example: If you changed your password you'll have to use your old password to have a look at the statistics till 4:00am - only then the new password is available for statistics.

 

2.10.2 Mail

You got the error-message "Mail loops back to myself"? You forgot to add your domain to "/etc/postfix/local-host-names". Afterwards you have to restart postfix (/etc/init.d/postfix restart).

 

2.10.3 Web

You got the error-message "This IP is shared"? You've set the wrong IP for this virtual host on the Basis tab of the web site. This happens if you use your router's IP and not the one from your system - execute the command "ifconfig" to find out your system's IP.

 

2.10.4 Recycle Bins

If you delete an item (web site, user, DNS record, etc.), it is not removed immediately, but moved to the recycle bin from which you can either restore the item or delete it. You should keep this in mind if you try to recreate an item that you've previously deleted and get the error message in ISPConfig that this item is already existing in the system - you've probably forgotten to remove it from the recycle bin.

 

3 Links


Please do not use the comment function to ask for help! If you need help, please use our forum.
Comments will be published after administrator approval.