{"id":34524,"date":"2023-08-08T23:23:46","date_gmt":"2023-08-08T23:23:46","guid":{"rendered":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/"},"modified":"2024-12-23T23:10:01","modified_gmt":"2024-12-23T23:10:01","slug":"403-server-error","status":"publish","type":"knowledgebase","link":"https:\/\/www.wpstaq.com\/sg\/knowledgebase\/403-server-error\/","title":{"rendered":"403 Server Error"},"content":{"rendered":"<p>Encountering a 403 Server Error is mostly like due to:<\/p>\n<ul>\n<li>a production website still has dev links that no longer points since it&#8217;s now on production<\/li>\n<li>an SSL generation or renewal issue.<\/li>\n<\/ul>\n<h2>Dev link appearing in a production website<\/h2>\n<p>Firstly, check the URL or link that has the 403 Forbidden error. Does it look like a production URL or is it the dev (or development) or staging link?<\/p>\n<p>If that is the case, you&#8217;ll have to do a search\/replace inside the database to correct this. You can do a search and replace inside the database via 2 methods either via the Staq dashboard or inside the WordPress backend. Check out this guide on <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-do-a-search-replace\/\">how to do a search\/replace inside the WordPress database<\/a>.<\/p>\n<p>&nbsp;<\/p>\n<h2>DNS configuration causing SSL to fail to generate or renew<\/h2>\n<h3>SSL: Understanding the Cause<\/h3>\n<p>SSL certificate issues on Staq are primarily related to the following:<\/p>\n<ul>\n<li><strong>DNS Misconfiguration:<\/strong> A records not pointing to Staq&#8217;s system.<\/li>\n<li><strong>DNS Propagation:<\/strong> Delays in DNS updates after taking a website live i.e. the TTL on your DNS is set high.<\/li>\n<li><strong>Multiple A Records:<\/strong> Duplicate or conflicting entries for the same domain.<\/li>\n<li><strong>Cloudflare Proxy:<\/strong> Interference with SSL authentication when proxy status is enabled.<\/li>\n<li><strong>Too Many SSL Generation Attempts:<\/strong> Excessive failed attempts can result in a temporary ban from Let&#8217;s Encrypt.<\/li>\n<\/ul>\n<h3>Diagnosing SSL Issues<\/h3>\n<h4>Step 1: Verify DNS Configuration<\/h4>\n<ol>\n<li>Go to the website&#8217;s <strong>Staq Panel<\/strong> and click <strong>Domains<\/strong>.<\/li>\n<li>Check if the domains have a warning symbol, which indicates a mismatch or misconfiguration.<img decoding=\"async\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/08\/domain-ip-validation.png\" \/><\/li>\n<li>Use a tool like <a href=\"https:\/\/mxtoolbox.com\/\">MX Toolbox<\/a> to perform a DNS lookup for your domain and verify that the A records match the IP address provided in the Staq Panel.<\/li>\n<\/ol>\n<p><strong>Example:<\/strong> For domains such as <em>www.example.com<\/em> and <em>example.com<\/em>, ensure that both point to the correct Staq IP address.<\/p>\n<h4>Step 2: Check for Duplicate A Records<\/h4>\n<p>If multiple A records exist for the same domain (e.g., pointing to different IP addresses), delete the unnecessary entries. Duplicate records will cause SSL validation to fail.<\/p>\n<h4>Step 3: Check for AAAA Records<\/h4>\n<p>Inside Staq Panel &gt; Domains, if you have i.e. the root domain and www domain setup, make sure that you do not have AAAA records that correspond to the root or www domains inside your DNS. If you see this, delete the AAAA records since they will not allow the SSL to generate.<\/p>\n<h4>Step 4: Cloudflare Proxy<\/h4>\n<p>If you\u2019re using Cloudflare, ensure the <strong>proxy status<\/strong> for non-www and www records is disabled during SSL certificate creation or renewal. This allows Let&#8217;s Encrypt to verify the domain without interference.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-34341\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/06\/cloudflare-disable-proxy.png\" alt=\"Disable Proxy in Cloudflare\" width=\"550\" height=\"212\" srcset=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/06\/cloudflare-disable-proxy.png 1018w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/06\/cloudflare-disable-proxy-300x116.png 300w, https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/06\/cloudflare-disable-proxy-768x296.png 768w\" sizes=\"auto, (max-width: 550px) 100vw, 550px\" \/><br \/>\nAlternatively, if you wish to take advantage of our Staq to Cloudflare API integration, see this guide so that you can <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/integrating-cloudflare-with-staq\/\" target=\"_blank\" rel=\"noopener\">keep Cloudflare proxy enabled<\/a>. This will allow SSL creation and auto-renew to occur seamlessly.<\/p>\n<h3>Resolving SSL Issues<\/h3>\n<h4>Step 1: DNS Propagation<\/h4>\n<p>If DNS changes were recently made, wait for DNS propagation to complete. Once completed, ensure that all A records point to Staq&#8217;s system.<\/p>\n<h4>Step 2: Regenerate SSL Certificate<\/h4>\n<p>After resolving DNS issues, navigate to the <strong>SSL<\/strong> section in the Staq Panel and click <strong>Generate SSL Certificate<\/strong>:<\/p>\n<p><img decoding=\"async\" class=\"aligncenter\" src=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/08\/generate-ssl-certificate.png\" alt=\"Generate SSL Certificate\" \/><\/p>\n<h4>Step 3: Bring Services Back to Staq<\/h4>\n<ul>\n<li>If you manage your DNS through a third-party provider, update the A records to point to Staq\u2019s IP addresses (found in the Staq Panel under <strong>Domains<\/strong>).<\/li>\n<li>If you wish to move your DNS management to Staq, retrieve the NS records from the Staq Panel under <strong>DNS Zone<\/strong> and update them in your domain registrar\u2019s settings.<\/li>\n<\/ul>\n<h3>Additional Considerations<\/h3>\n<ul>\n<li>If your domain uses CAA records, ensure that Let\u2019s Encrypt is included as a trusted SSL provider. Follow this guide: <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/steps-to-minimise-or-avoid-downtime-when-taking-a-website-live\/\">Steps to Minimise or Avoid Downtime When Taking a Website Live<\/a>.<\/li>\n<li>For advanced setups or alternative SSL providers, refer to this guide: <a href=\"https:\/\/www.wpstaq.com\/knowledgebase\/how-to-add-a-custom-ssl\/\">How to Add a Custom SSL<\/a>.<\/li>\n<\/ul>\n<h2>Conclusion<\/h2>\n<p>Ensuring all your links are correct inside the database will remove the 403 error. Alternatively, if it was a DNS configuration, resolving SSL certificate issues often comes down to ensuring proper DNS configuration and addressing factors like proxy settings and propagation delays. Follow the steps outlined in this guide to diagnose and resolve issues effectively. If you encounter persistent problems, reach out to Staq Support for further assistance.<\/p>\n","protected":false},"featured_media":34548,"parent":0,"template":"","class_list":["post-34524","knowledgebase","type-knowledgebase","status-publish","has-post-thumbnail","hentry","categories-server-errors","categories-ssl"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>403 Server Error - Managed Hosting Platform for WordPress<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"403 Server Error - Managed Hosting Platform for WordPress\" \/>\n<meta property=\"og:description\" content=\"Encountering a 403 Server Error is mostly like due to: a production website still has dev links that no longer points since it&#8217;s now on production an SSL generation or renewal issue. Dev link appearing in a production website Firstly, check the URL or link that has the 403 Forbidden error. Does it look like&hellip;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/\" \/>\n<meta property=\"og:site_name\" content=\"Managed Hosting Platform for WordPress\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/staqhosting\/\" \/>\n<meta property=\"article:modified_time\" content=\"2024-12-23T23:10:01+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/08\/403-server-error.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1000\" \/>\n\t<meta property=\"og:image:height\" content=\"500\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"4 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/403-server-error\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/403-server-error\\\/\",\"name\":\"403 Server Error - Managed Hosting Platform for WordPress\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/403-server-error\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/403-server-error\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/403-server-error.png\",\"datePublished\":\"2023-08-08T23:23:46+00:00\",\"dateModified\":\"2024-12-23T23:10:01+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/403-server-error\\\/#breadcrumb\"},\"inLanguage\":\"en-sg\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/403-server-error\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/403-server-error\\\/#primaryimage\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/403-server-error.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/08\\\/403-server-error.png\",\"width\":1000,\"height\":500},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/knowledgebase\\\/403-server-error\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.wpstaq.com\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"403 Server Error\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#website\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"name\":\"Managed Hosting Platform for WordPress\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.wpstaq.com\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-sg\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#organization\",\"name\":\"Staq\",\"alternateName\":\"WPStaq\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-sg\",\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"contentUrl\":\"https:\\\/\\\/www.wpstaq.com\\\/wp-content\\\/uploads\\\/2023\\\/05\\\/cropped-LogoNoText.png\",\"width\":512,\"height\":512,\"caption\":\"Staq\"},\"image\":{\"@id\":\"https:\\\/\\\/www.wpstaq.com\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/staqhosting\\\/\",\"https:\\\/\\\/www.linkedin.com\\\/company\\\/wpstaq\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"403 Server Error - Managed Hosting Platform for WordPress","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/","og_locale":"en_US","og_type":"article","og_title":"403 Server Error - Managed Hosting Platform for WordPress","og_description":"Encountering a 403 Server Error is mostly like due to: a production website still has dev links that no longer points since it&#8217;s now on production an SSL generation or renewal issue. Dev link appearing in a production website Firstly, check the URL or link that has the 403 Forbidden error. Does it look like&hellip;","og_url":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/","og_site_name":"Managed Hosting Platform for WordPress","article_publisher":"https:\/\/www.facebook.com\/staqhosting\/","article_modified_time":"2024-12-23T23:10:01+00:00","og_image":[{"width":1000,"height":500,"url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/08\/403-server-error.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"4 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/","url":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/","name":"403 Server Error - Managed Hosting Platform for WordPress","isPartOf":{"@id":"https:\/\/www.wpstaq.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/#primaryimage"},"image":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/#primaryimage"},"thumbnailUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/08\/403-server-error.png","datePublished":"2023-08-08T23:23:46+00:00","dateModified":"2024-12-23T23:10:01+00:00","breadcrumb":{"@id":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/#breadcrumb"},"inLanguage":"en-sg","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/"]}]},{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/#primaryimage","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/08\/403-server-error.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/08\/403-server-error.png","width":1000,"height":500},{"@type":"BreadcrumbList","@id":"https:\/\/www.wpstaq.com\/knowledgebase\/403-server-error\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wpstaq.com\/"},{"@type":"ListItem","position":2,"name":"403 Server Error"}]},{"@type":"WebSite","@id":"https:\/\/www.wpstaq.com\/#website","url":"https:\/\/www.wpstaq.com\/","name":"Managed Hosting Platform for WordPress","description":"","publisher":{"@id":"https:\/\/www.wpstaq.com\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wpstaq.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-sg"},{"@type":"Organization","@id":"https:\/\/www.wpstaq.com\/#organization","name":"Staq","alternateName":"WPStaq","url":"https:\/\/www.wpstaq.com\/","logo":{"@type":"ImageObject","inLanguage":"en-sg","@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/","url":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","contentUrl":"https:\/\/www.wpstaq.com\/wp-content\/uploads\/2023\/05\/cropped-LogoNoText.png","width":512,"height":512,"caption":"Staq"},"image":{"@id":"https:\/\/www.wpstaq.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/staqhosting\/","https:\/\/www.linkedin.com\/company\/wpstaq"]}]}},"_links":{"self":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/knowledgebase\/34524","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/knowledgebase"}],"about":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/types\/knowledgebase"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/media\/34548"}],"wp:attachment":[{"href":"https:\/\/www.wpstaq.com\/sg\/wp-json\/wp\/v2\/media?parent=34524"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}