mydomain.com fetches to my router's web interface

Discussion in 'Installation/Configuration' started by kreya, Jun 13, 2007.

  1. kreya

    kreya New Member

    hi,
    when i try accesing mydomain.com it gets me to my router web interface.

    i've created A record, MX record, CNAME record for mydomain.com in my domain registrar's cpanel pointing mydomain.com to my static IP which is assigned to my router.

    i installed ispconfig using IP instead of mydomain.com cos' my changes weren't updated. now i can ping www.mydomain.com and i get reply from my router.
    I use my ISP DNS servers.

    what i am trying to accomplish is
    www.mydomain.com should get me to my website instead of ispconfig interface

    how could this be done?
     
  2. Hans

    Hans Moderator Moderator

    Did you change the ISPConfig server settings already within ISPConfig under Management > Server > Settings > Server ?

    Change the domainname within your INTERNAL IP-address (not your external IP-address).
    Change the Hostname within: www

    Afterwards, save your settings.
     
  3. kreya

    kreya New Member

    the config is
    ispconfig -- management -- server -- settings --
    Hostname: www
    Domain: mydomain.com
    IP Address: 192.168.0.3

    saved and restarted

    but still accessing www.mydomain.com shows my router's web interface
     
  4. Hans

    Hans Moderator Moderator

    Oeps, i made a mistake:


    If for example the output of

    hostname -f

    is: server1.example.com

    you need to set the hostname within ISPConfig to server1 in stead of www.
     
  5. kreya

    kreya New Member

  6. Hans

    Hans Moderator Moderator

    If you try to access your site within your LAN, maybe you need to configure your Windows workstation so that it also uses your own DNS-server on your ISPConfig server.
     

Share This Page