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,
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/
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?
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.
Does the hostname exist in DNS? For testing purposes, you can change the hosts file on your client computer: http://www.howtoforge.com/forums/showthread.php?t=432&highlight=hosts+file+windows