Skip to main content

Problem ftp.domain.com

Comments

12 comments

  • devil2580
    hi Hope you are well this problem seems to be the DNS issue. Please contact your name server provider to look into this matter. Feel free to contact us for more help.
    0
  • mickael
    I have to configure something on my dedicated server? It's a CentOS 7.9 with WHM/Cpanel 98.0.9
    0
  • cPRex Jurassic Moderator
    When I check the ftp subdomain you mentioned (which I removed from the post for security reasons) I see there is content responding there. Anything with web content will likely get indexed by Google. Normally I would expect common subdomains like ns1. or ftp. to show the default "sorry" page, so there is likely redirection happening on your site that causes them to show real content.
    0
  • cPRex Jurassic Moderator
    Thanks for that clarification. What you want to do is set the default SSL vhost as outlined here:
    0
  • mickael
    I don't see anything changed for the subdomain in "ftp.site.com". On the other hand, maybe it works for other things. Here is my problem to summarize: Actually my cpanel / whm name is called "ns.site.com" and it works in both ssl and nossl Going to I get the sorry page, it's okay. Going to I get the sorry page By going to
    0
  • cPRex Jurassic Moderator
    Can you check the Apache logs to see what directory it is trying to access when you go to
    0
  • mickael
    The directory is public_html of its "site.com", each "ftp.site.com" displays the content of its own site.com Example: [QUOTE]lfbn-rei-1-3xxxx.fr - - [06/Oct/2021:16:35:01 +0200] "GET /css/font-awesome.css HTTP/1.1" 200 4288 "
    0
  • cPRex Jurassic Moderator
    That's interesting, although I don't have a good explanation of that on my end. If you have root access, could you submit a ticket to our team so we can examine the system directly? If you are able to submit a ticket, please post the number here so I can follow along and keep this thread updated.
    0
  • mickael
    Ticket number: : #94370920
    0
  • cPRex Jurassic Moderator
    Thanks for that - I do see the team helped you setup customized virtualhost entries so those resolved over a secure connection. Let us know if you need anything else!
    0
  • mickael
    Hi Yes I cloned this: /var/cpanel/templates/apache2_4/ssl_vhost.default
    to /var/cpanel/templates/apache2_4/ssl_vhost.local
    this local file has been modified, at the very top I added this: [CODE=apacheconf] [% IF vhost.serveradmin -%] ServerName ftp.[% vhost.serveradmin %] [% ELSE %] ServerName ftp.[% vhost.servername %] [% END -%] DocumentRoot /var/www/html suPHP_UserGroup nobody nobody AllowOverride All SSLEngine on SSLCertificateFile /var/cpanel/ssl/cpanel/cpanel.pem SSLCertificateKeyFile /var/cpanel/ssl/cpanel/cpanel.pem SSLCertificateChainFile /var/cpanel/ssl/cpanel/cpanel.pem SSLUseStapling Off SecRuleEngine On
    The case is settled I didn't know, I would have learned something useful. Regards
    0

Please sign in to leave a comment.