How do I test the website and mail server

Discussion in 'Installation/Configuration' started by icompany, Dec 18, 2009.

  1. icompany

    icompany New Member

    sorry new to linux, I created a website under ispconfig, where are the files located (etc/apache/htdocs) ? Does it auto create a index.htm as the default page ? I also set the mail under ispconfig. How do I test both?

    Thanks,
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

    To test a website, connect to it with a webbrowser like firefox. To test a email account, use a email client like thunderbird.

    If you connect to your site with a ftp client, you are automatically in the website root directory, the html files have to be copied to the web directory then. The exact location on your harddisk depends on the linux distribution, in most cases ist /var/www/yourdomain.com/web/
     
  3. icompany

    icompany New Member

    unable to connect to both. Cannot resolve dns names in dns server , domain. I can resolve the ip adddress of the nic but not the local domain or the website domain?
     
  4. untg

    untg New Member

    The way I usually test my test boxes (and there may be a better way to do this), is to change (in windows) the c:\windows\system32\drivers\etc\hosts file.
    Add a line in like this, let's say your website is www.john.com and your local lan IP is 192.168.0.5

    192.168.0.5 john.com
    192.168.0.5 www.john.com

    That way, when you type in your browser john.com, or www.john.com, it will first look in the hosts file and find that entry and go there.

    If you using a mac, I believe you would put an entry in /etc/hosts in the same format as the windows one.

    Hope that helps.
     
  5. icompany

    icompany New Member

    still unable to ping hostname or domain name from another pc on the lan?
     
  6. falko

    falko Super Moderator ISPConfig Developer

Share This Page