WWW and clear .domain.tld

Discussion in 'Installation/Configuration' started by bluegene, Jul 3, 2010.

  1. bluegene

    bluegene New Member

    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?
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    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.
     

Share This Page