New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

FTP subdomain serving root webpage ?

Started by mrnovo, November 09, 2020, 10:22:22 PM

Previous topic - Next topic

mrnovo

Hi,

Recently i've moved to CWPPro, today i noticed that ftp.domain.com serving web site from domain.com. Not forwarding.

Not only FTP subdomain. Here some info:

- I've added 10 IP addresses to my server. 1.1.1.1 is my main shared ip
- I've created 2 accounts on 1.1.1.2 (firstdomain.com, seconddomain.com)
- When i visit ftp.firstdomain.com or ftp.seconddomain.com, firstdomain.com web page is served. All links working.
- Also not only FTP subdomain. Any A record that points to 1.1.1.2 but does not have a folder, serves firstdomain.com
- Besides all these, if i visit 1.1.1.2 same thing happens.

I'm using apache as webserver.

Anyone can help ?

Regards.

mrnovo


studio4host

you probably have some configuration mixed or you are talking about https as in a case some domain has no https the ssl of the first domain on the same will be serverd (that is a default webserver behavior)
VPS & Dedicated server provider with included FREE Managed support for CWP.
http://www.studio4host.com/

*** Don't allow that your server or website is down, choose hosting provider with included expert managed support for your CWP.

mrnovo

I dont know if its a missconfiguration but i think its about shared IPs.

I've fixed this by adding my shared ips to sharedips.conf in apache.