Forum Replies Created

Viewing 2 replies - 1 through 2 (of 2 total)
  • @vahost, that’s not really the case.

    The johnstonsfamily.net and spamlessmail.com domains both point to the same IPv4 address (162.220.166.154).
    The johnstonsfamily.net domain is apparently not configured on the server, but since spamlessmail.com seems to be the default site, it’s getting served by default.
    You can verify this behavior by accessing the server directly using its IP address.
    I don’t know if your hosting provider is to blame, or if the owner of johnstonsfamily.net simply mixed up the DNS records.
    Anyhow, since the server defaults to spamlessmail.com, WPSuperCache will create a directory for the johnstonsfamily.net domain as expected.

    Generally speaking though, most of these issues are due to the client (bot or whatever) supplying a fake host header causing WPSuperCache to write a new folder.
    A simple fix would be to check the HTTP_HOST variable against a valid list of hosts in your .htaccess file.

    You can see a proof of concept here: https://youtu.be/CkYUFr86bCA

    In short, the client (bot or whatever) is supplying a fake host header causing WPSuperCache to write a new folder.
    A simple fix would be to check the HTTP_HOST variable against a valid list of hosts in your .htaccess file.

    You can see a proof of concept here: https://youtu.be/CkYUFr86bCA

Viewing 2 replies - 1 through 2 (of 2 total)