imscp config server hostname

  • Hi,


    For begining thanks for this very good control panel ;).


    But i have one question about the imscp config on two variable :
    SERVER_HOSTNAME & BASE_SERVER_VHOST


    I have installed i-MSCP on a virtualbox session with debian squeeze.


    And no problem during installation. And my final imscp.conf is :

    Code
    1. ...SERVER_HOSTNAME = www.server1.net.BASE_SERVER_IP = 192.168.0.42BASE_SERVER_VHOST = server1.netBASE_SERVER_VHOST_PREFIX = https://SSL_ENABLED = yes...


    on my debian :


    # hostname
    return : server1
    #hostname -f
    return : www.server1 ( without http:// )


    the /etc/hosts

    Code
    1. 127.0.0.1 localhost.localdomain localhost
    2. 192.168.0.42 www.server1 server1
    3. ::ffff:192.168.0.42 www.server1 server1
    4. ::1 ip6-localhost ip6-loopback


    But with an account created, the Alternative URL to reach your website is http://vu2003.server1.net .
    But i can t reach the domain.


    I failed to initialize variables ?
    of i failed with the hostname ?


    Thank you in advance.
    Best Regards,

    Edited once, last by NeoMatrix ().

  • Finally, its ok, the problem was dns. I installed pdnsd on my archlinux.
    And my server was registered.


    Thanks and sorry for this post.

  • Hello,


    I have the same problem than NeoMatrix.
    When I try to go on http://vu2003.mydomain.tld, it doesn't work because my workstation coulnt not resolve vu2003.mydomain.tld
    It just can resolve mydomain.tld


    I don't understand the interest to install on *my* workstation under archlinux too, pdns
    I though this "alternate URL" was a way to access to a website in developpement for example, without the correct DNS setup for now.

  • Hi!


    It may be to late ;)


    But when using an external dns server:


    add a wildcard domain: *.server1.net (or whatever) -> 192.168.0.42 (your server ip)
    and maybe: www.*.server1.net -> 192.168.0.42


    that works in my case!


    Regards
    Joe