View Single Post
  #2  
Old 26th August 2005, 08:51
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,722 Times in 2,563 Posts
Default

Quote:
Originally Posted by SidSkiba
My question is related to the web site of the ISP machine. For example (not using real domain names). ISPConfig Server is set up as webserver.domain.com. I have 1 web site on the machine called www.domain2.com. If I do http://webserver.domain.com the browser displays www.domain2.com site. Both are on the same IP address. If I use http://192.168.100.1 (IP of machine) it displays www.domain2.com.

domain.com would be a real internet domain. Thus I would like anyone going to the IP address or going to www.domain.com to see a site called www.domain.com and not www.domain2.com as it does now.

Is there a way to do this or what am I missing in the configuration?
If you type in a URL in your browser that has no vhost entry in your Apache the Apache serves the first entry it can find. So you need to create a web site in ISPConfig for www.domain.com if you don't want that the web site of www.domain2.com shows up when you type www.domain.com in your browser.


Quote:
Also I notice if I open up port 21 on the NAT and try doing ftp://www.domain.com that I cannot connect. I can connect fine with ftp://192.168.100.1 I am unsure if this is a NAT issue with ProFTP or something like that. Perhaps you can advise? I do not really need FTP access from outside today but may need it in the future.
Have you tried Passive transfers in your FTP client? Most often it solves Firewall problems.
__________________
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