Skip to main content

Https problems

Comments

5 comments

  • Alex

    Hi Ali,

    Please, check the www redirection record (and eventually enable the SSL certificate) and then upload the Brizy page again in your server. The code in your .htaccess file should look like: 

    RewriteCond %{HTTP_HOST} ^yourdomain.com [NC]
    RewriteRule ^(.*)$ https://www.yourdomain.com/$1 [L,R=301]

    Also, try to clear the cache in the .var/ folder. 

    0
  • Ali Hussain

    Thank you Alex. I dont know what i did but it worked. i modded the .htaccess file in the folder and re uploaded and it worked. godady dns service is a pain so if you guys could give any tips on this it will really help. i have included a screen shot.

    These are the setting options that i have and is working so far: 

    https://pasteboard.co/J2a5ygG.jpg

    Ideally i would like the settings suggestions to directly point to brizy cloud with the setting leading to https. the guide you have in the forum doesnt work with godaddy. please help me with that. Also is there a way to change the favicon and insert tracking code on the server sync side or on the cloud side?? thank you for your support

     

    0
  • Alex

    Hi,

    So, I didn't really understand. We were talking about Server Sync. Now you want to publish a project through Custom Domain? Are you referring to this article: https://support.brizy.io/hc/en-us/articles/360026046931-Custom-domain?

    You can add a favicon in project settings: https://jmp.sh/FleELHt 

    0
  • Andrew Mckim

    So, I've been struggling with this INVALID BASE URL myself:

    [Note: make sure you've got the basics covered, like having your SSL certificate active FIRST]

    How To Make Sure Your Server-Sync Install Works For all cases (WWW, HTTP, HTTPS.)

    Installing a "server sync" version of the site in the root directory of a folder on my server works in all cases EXCEPT when I use the www. subdomain.

    I tried different CNAME and A Record configurations but that didn't work.

    I tried the .htaccess snippet provided here (and lots of other places.) and that didn't work

    Then I found a variation of the .htaccess snippet THAT DID WORK (edit your .htaccess file to include the following code) ... Here it is:

    RewriteEngine On
    RewriteCond %{HTTPS} off [OR]
    RewriteCond %{HTTP_HOST} ^www\. [NC]
    RewriteCond %{HTTP_HOST} ^(?:www\.)?(.+)$ [NC]
    RewriteRule ^ https://%1%{REQUEST_URI} [L,NE,R=301]


    Here was the article I found the solution in:
    https://simonecarletti.com/blog/2016/08/redirect-domain-http-https-www-apache/

    It worked for me, I can sleep well tonight.

    0
  • Alex

    Hi Andrew,

    thanks for sharing <3

    0

Please sign in to leave a comment.