#1  
Old 3rd July 2010, 18:38
bluegene bluegene is offline
Junior Member
 
Join Date: Jul 2010
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default WWW and clear .domain.tld

Hey!

Cheers for the excellent tutorial on setting up ubuntu with ispconfig!

Firstly, I've setup my hostname to be domain.tld, and have progressed from there.
"In this tutorial I use the hostname server1.example.com with the IP address 192.168.0.100 and the gateway 192.168.0.1. These settings might differ for you, so you have to replace them where appropriate. "
meaning I used domain.tld instead of server1.example.com

In ISPConfig, when I try to create the main website, domain.tld (server: domain.tld, client, ipaddress *, domain: domain.tld) and set auto-subdomain to *., I cannot get the http://domain.tld to show the same content as http://www.domain.tld, it seems to have the documentroot still att /www/ instead of /www/domain.tld/web


Any idea on how to fix this?
Reply With Quote
Sponsored Links
  #2  
Old 5th July 2010, 17:55
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 Posts
 
Default

If you want to use domain.tld for websites or email, then you can not use it as hostname of the server. Thats why the tutorial suggests to use server1.example.com. To solve the problem, you will have to change the hostname now:

Edit it in:

/etc/hostname
/etc/mailname
/etc/hosts
/etc/postfix/main.cf

and restart the server.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
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
Temporary access to www directory when not implemented bswinnerton Installation/Configuration 18 18th March 2010 09:19
RoundCube nveid Feature Requests 161 21st October 2007 11:41


All times are GMT +2. The time now is 20:51.


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