Jump to content

Recommended Posts

Guest georgene
Posted

When I go to domain.com/not-a-file, my 500 error shows up instead of my 404 error page.

Thank you.

Guest georgene
Posted

actually it's a new domain vincentb.ml and I have nothing on it (and I don't plan on having wp)

Guest georgene
Posted

It works which means the /home/georgene/public_html/.htaccess file is the problem. This is the code I have on there (wordpress is definitely causing the problem, but I won't delete it).

# BEGIN WpFastestCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteCond %{HTTPS} =on
RewriteCond %{HTTP_HOST} ^3d.mackproductions.com
# Start WPFC Exclude
# End WPFC Exclude
# Start_WPFC_Exclude_Admin_Cookie
RewriteCond %{HTTP:Cookie} !wordpress_logged_in_[^\=]+\=georgene
# End_WPFC_Exclude_Admin_Cookie
RewriteCond %{HTTP_HOST} ^3d.mackproductions.com
RewriteCond %{HTTP_USER_AGENT} !(facebookexternalhit|WP_FASTEST_CACHE_CSS_VALIDATOR|Twitterbot|LinkedInBot|WhatsApp|Mediatoolkitbot)
RewriteCond %{HTTP_USER_AGENT} !(WP\sFastest\sCache\sPreload(\siPhone\sMobile)?\s*Bot)
RewriteCond %{REQUEST_METHOD} !POST
RewriteCond %{REQUEST_URI} !(\/){2}$
RewriteCond %{REQUEST_URI} \/$
RewriteCond %{QUERY_STRING} !.+
RewriteCond %{HTTP:Cookie} !comment_author_
RewriteCond %{HTTP:Cookie} !safirmobilswitcher=mobil
RewriteCond %{HTTP:Profile} !^[a-z0-9\"]+ [NC]
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/all/$1/index.html -f [or]
RewriteCond /home/georgene/public_html/wp-content/cache/all/$1/index.html -f
RewriteRule ^(.*) "/wp-content/cache/all/$1/index.html" [L]
</IfModule>
<FilesMatch "index\.(html|htm)$">
AddDefaultCharset UTF-8
<ifModule mod_headers.c>
FileETag None
Header unset ETag
Header set Cache-Control "max-age=0, no-cache, no-store, must-revalidate"
Header set Pragma "no-cache"
Header set Expires "Mon, 29 Oct 1923 20:30:00 GMT"
</ifModule>
</FilesMatch>
# END WpFastestCache
# BEGIN GzipWpFastestCache
<IfModule mod_deflate.c>
AddType x-font/woff .woff
AddType x-font/ttf .ttf
AddOutputFilterByType DEFLATE image/svg+xml
AddOutputFilterByType DEFLATE text/plain
AddOutputFilterByType DEFLATE text/html
AddOutputFilterByType DEFLATE text/xml
AddOutputFilterByType DEFLATE text/css
AddOutputFilterByType DEFLATE text/javascript
AddOutputFilterByType DEFLATE application/xml
AddOutputFilterByType DEFLATE application/xhtml+xml
AddOutputFilterByType DEFLATE application/rss+xml
AddOutputFilterByType DEFLATE application/javascript
AddOutputFilterByType DEFLATE application/x-javascript
AddOutputFilterByType DEFLATE application/x-font-ttf
AddOutputFilterByType DEFLATE x-font/ttf
AddOutputFilterByType DEFLATE application/vnd.ms-fontobject
AddOutputFilterByType DEFLATE font/opentype font/ttf font/eot font/otf
</IfModule>
# END GzipWpFastestCache
# BEGIN LBCWpFastestCache
<FilesMatch "\.(webm|ogg|mp4|ico|pdf|flv|jpg|jpeg|png|gif|webp|js|css|swf|x-html|css|xml|js|woff|woff2|otf|ttf|svg|eot)(\.gz)?$">
<IfModule mod_expires.c>
AddType application/font-woff2 .woff2
AddType application/x-font-opentype .otf
ExpiresActive On
ExpiresDefault A0
ExpiresByType video/webm A10368000
ExpiresByType video/ogg A10368000
ExpiresByType video/mp4 A10368000
ExpiresByType image/webp A10368000
ExpiresByType image/gif A10368000
ExpiresByType image/png A10368000
ExpiresByType image/jpg A10368000
ExpiresByType image/jpeg A10368000
ExpiresByType image/ico A10368000
ExpiresByType image/svg+xml A10368000
ExpiresByType text/css A10368000
ExpiresByType text/javascript A10368000
ExpiresByType application/javascript A10368000
ExpiresByType application/x-javascript A10368000
ExpiresByType application/font-woff2 A10368000
ExpiresByType application/x-font-opentype A10368000
ExpiresByType application/x-font-truetype A10368000
</IfModule>
<IfModule mod_headers.c>
Header set Expires "max-age=A10368000, public"
Header unset ETag
Header set Connection keep-alive
FileETag None
</IfModule>
</FilesMatch>
# END LBCWpFastestCache


# BEGIN WordPress
# The directives (lines) between `BEGIN WordPress` and `END WordPress` are
# dynamically generated, and should only be modified via WordPress filters.
# Any changes to the directives between these markers will be overwritten.
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

RewriteCond %{HTTPS} !=on
RewriteCond %{HTTP_HOST} ^3d.mackproductions\.com$ [OR]
RewriteCond %{HTTP_HOST} ^www\.3d.mackproductions\.com$
RewriteRule .* https://3d.mackproductions.com%{REQUEST_URI} [R=301,L]

# php -- BEGIN cPanel-generated handler, do not edit
# Set the “ea-php72” package as the default “PHP” programming language.
<IfModule mime_module>
  AddType application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
# php -- END cPanel-generated handler, do not edit

Guest georgene
Posted

I highly doubt you are able to fix this changing the code since "Any changes to the directives between these markers will be overwritten." However, would it work if I create an FTP account only for vincentb.ml

Posted

The way apache works is it uses .htaccess from any parent directories in addition to the directory that your request is for. One thing that I can think of that would prevent your wordpress install from messing up your new addon domain is you could change your main domain to something like georgene.heliohost.us and then move your wordpress install and that domain to an addon domain. That way the .htaccess from wordpress wouldn't be in the parent directory of your vincentb.ml domain. Let us know if you need any help.

Guest georgene
Posted

Okay so, I change my main domain to georgene.heliohost.us here. Then, I add back 3d.mackproductions.com as an addon domain and I move all files from georgene.heliohost.us to 3d.mackproductions.com. So, no action within wordpress.

Can you please confirm that before I do it?

Posted

Yes, I'm not too familiar with Wordpress, but as long as it isn't hard coded to only exist in /home/georgene/public_html/ it should work fine because the domain isn't changing.

Guest georgene
Posted

Thank you so much for your help and your fast replies (3 minutes, that's crazy)

Guest georgene
Posted

That brings me back to another problem. "(XID 5h2jw6) Sorry, the domain is already pointed to an IP address that does not appear to use DNS servers associated with this server. Please transfer the domain to this servers nameservers or have your administrator add one of its nameservers to /etc/ips.remotedns and make the proper A entries on that remote nameserver." Someone in the admin (maybe you) told me to just ask you to add the domain manually, since cpanel doesn't like the fact that the domain 3d.mackproductions.com only has an A record pointed to the ricky ip and www.3d.mackproductions.com has an A record too (but, no NS). I know that this makes mail not work properly, but I don't mind that. 

Posted

Create a subdomain on your main domain, like 3d.georgene.heliohost.us or something, and let me know. I can then park 3d.mackproductions.com on the subdomain.

Guest georgene
Posted

I added the 3d.georgene.heliohost.us subdomain. 

 

Hovewer, Wolstech also said that "Also, we can add manually extra domains to your account for you." in a previous request. So, it appeared more simple to me. But, if it works like that I have no problem.

Posted

 

Hovewer, Wolstech also said that "Also, we can add manually extra domains to your account for you." in a previous request. So, it appeared more simple to me. But, if it works like that I have no problem.

This is usually mentioned in reference to users wanting more than one of the *.heliohost.us domains, since there is no way to do this on the user's end.

 

However, it also tends to apply when you want to host a single subdomain of a domain that's not hosted here on our server.

 

Please keep in mind that even if we add such a domain, you won't have full functionality unless the domain's current name server supports delegating the subdomain to our name servers (using an A or CNAME is only sufficient if you just need a website, things like email, etc. will have trouble with this configuration), and we often won't/can't provide support for issues related to domains configured using A or CNAME records.

Guest georgene
Posted

It was working fine previoustly with only A records. Sending mail didn't work, but that is fine with me.

Please add it for me even though there is no NS.

Thanks

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...