LDDG Posted April 1, 2017 Share Posted April 1, 2017 Hello all, I created a subdomain names static.losdurosdelgenero.com for the purpose and storing all my static files (images, css, etc). Every time I try to access it, it gives me the following error: Server not found Firefox can’t find the server at static.losdurosdelgenero.com. Check the address for typing errors such as ww.example.com instead of www.example.com If you are unable to load any pages, check your computer’s network connection. If your computer or network is protected by a firewall or proxy, make sure that Firefox is permitted to access the Web. I have a feeling that it might be caused perhaps by the .htaccess file? Here is a copy of my .htaccess file and hoping someone can help me out here... Options +FollowSymlinks Options -MultiViews <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{SERVER_PORT} ^80$ RewriteCond %{HTTP_HOST} !^www\.losdurosdelgenero\.com$ RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule ^ https://www.losdurosdelgenero.com%{REQUEST_URI} [L,R=301] RewriteBase / RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule \.(js|css|jpeg|jpg|gif|png|ico)(\?|$) /404error.php [L,NC] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} !^/[0-9]+\..+\.cpaneldcv$ RewriteCond %{REQUEST_URI} !^/[A-F0-9]{32}\.txt(?:\ Comodo\ DCV)?$ RewriteRule . /index.php [L] </IfModule> # php -- BEGIN cPanel-generated handler, do not edit # Set the “ea-php70” package as the default “PHP” programming language. <IfModule mime_module> AddType application/x-httpd-ea-php70 .php .php7 .phtml </IfModule> # php -- END cPanel-generated handler, do not edit Thanks in advance! Link to comment Share on other sites More sharing options...
Daddy Posted April 2, 2017 Share Posted April 2, 2017 http://static.losdurosdelgenero.com/ is loading fine for me. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.