Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 18th December 2009, 17:02
icompany icompany is offline
Member
 
Join Date: Nov 2009
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
Default How do I test the website and mail server

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,
Reply With Quote
Sponsored Links
  #2  
Old 18th December 2009, 19:31
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,046
Thanks: 826
Thanked 5,385 Times in 4,231 Posts
Default

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/
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote
  #3  
Old 19th December 2009, 01:38
icompany icompany is offline
Member
 
Join Date: Nov 2009
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
Default

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?
Reply With Quote
  #4  
Old 19th December 2009, 15:14
untg untg is offline
HowtoForge Supporter
 
Join Date: Dec 2009
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

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.
Reply With Quote
  #5  
Old 19th December 2009, 19:58
icompany icompany is offline
Member
 
Join Date: Nov 2009
Posts: 31
Thanks: 2
Thanked 0 Times in 0 Posts
Default

still unable to ping hostname or domain name from another pc on the lan?
Reply With Quote
  #6  
Old 20th December 2009, 13:28
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,741 Times in 2,575 Posts
 
Default

Does the hostname exist in DNS?
For testing purposes, you can change the hosts file on your client computer: http://www.howtoforge.com/forums/sho...s+file+windows
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix problem and few questions Gimly Installation/Configuration 12 7th July 2009 16:27
mail from server not sending because main domain is not hosted by ispconfig plathw Installation/Configuration 12 18th September 2008 18:39
Small error with mail script on my website jorizzzz Installation/Configuration 7 14th June 2008 19:44
ISPConfig won't host website but not mail zetnsh Installation/Configuration 4 11th March 2008 06:44
Problem sending mail to 2nd SMTP server inside network kisong Server Operation 2 2nd March 2006 18:05


All times are GMT +2. The time now is 22:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.