ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    WordPress website migration

    Scheduled Pinned Locked Moved IT Discussion
    wordpressmigrationlets encrypt
    20 Posts 10 Posters 1.0k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • IRJI
      IRJ @JaredBusch
      last edited by

      @JaredBusch said in WordPress website migration:

      @IRJ are you sure you opened the firewall, etc on the new server?

      Did you copy over the Apache config file for your site?

      Firewall rules are in place. I haven't copied the config yet.

      jmooreJ 1 Reply Last reply Reply Quote 0
      • IRJI
        IRJ
        last edited by

        Screenshot_2019-03-26-09-49-16-213_com.sonelli.juicessh.png

        1 Reply Last reply Reply Quote 0
        • dafyreD
          dafyre
          last edited by

          If you are changing the domain name, you will need to do sed or something on the SQL file to update links to point to the new domain. Then you should be safe to import the SQL file.

          1 Reply Last reply Reply Quote 0
          • jmooreJ
            jmoore @IRJ
            last edited by

            @IRJ That is probably why then. Virtual host settings are in the apache config

            1 Reply Last reply Reply Quote 0
            • Emad RE
              Emad R @IRJ
              last edited by

              @IRJ

              Get familiar with wordpress CLI so you can change the web site site address from command line

              IRJI 1 Reply Last reply Reply Quote 0
              • IRJI
                IRJ @Emad R
                last edited by

                @Emad-R said in WordPress website migration:

                @IRJ

                Get familiar with wordpress CLI so you can change the web site site address from command line

                Easy enough to do with wp-settings file as well. I did not need to change domains in this case though

                1 Reply Last reply Reply Quote 0
                • IRJI
                  IRJ
                  last edited by

                  Everything is migrated over to new server. I confirmed that domain is resolving to the new server. I was not able to grab a new cert, but the old one appears to be working fine. Maybe it's because I was requesting a cert for the same domain?

                  1 Reply Last reply Reply Quote 1
                  • IRJI
                    IRJ
                    last edited by

                    Well wtf copying the config didn't allow me to grab a let's encrypt cert. However it did fix my url rewrites, but that was expected.

                    Still same virtual host error.

                    1 Reply Last reply Reply Quote 0
                    • IRJI
                      IRJ
                      last edited by IRJ

                      Screenshot_2019-03-26-19-07-16-865_com.android.chrome.png

                      Screenshot_2019-03-26-19-08-20-040_com.android.chrome.png

                      Screenshot_2019-03-26-19-11-18-062_com.miui.gallery.png

                      Doesn't full mean it's using my cert? This seems odd.

                      black3dynamiteB 1 Reply Last reply Reply Quote 0
                      • IRJI
                        IRJ
                        last edited by IRJ

                        I see now that it doesn't verify certificate unless you select strict. OK back to figuring out the LE issue

                        Unable to find a virtual host listening on port 80 which is currently needed for Certbot to prove to the CA that you control your domain. Please add a virtual host for port 80.
                        
                        
                        1 Reply Last reply Reply Quote 0
                        • black3dynamiteB
                          black3dynamite @IRJ
                          last edited by

                          @IRJ Full (strict) requires a valid certificate.
                          d920b4e4-3a7c-4261-b3a3-8d54009f9e1f-image.png

                          1 Reply Last reply Reply Quote 0
                          • JaredBuschJ
                            JaredBusch
                            last edited by

                            Why use a LE cert if oyu have CloudFlare in front? Use the cloudflare cert for the machine.

                            IRJI 1 Reply Last reply Reply Quote 4
                            • IRJI
                              IRJ @JaredBusch
                              last edited by

                              @JaredBusch said in WordPress website migration:

                              Why use a LE cert if oyu have CloudFlare in front? Use the cloudflare cert for the machine.

                              Fine

                              travisdh1T 1 Reply Last reply Reply Quote 0
                              • travisdh1T
                                travisdh1 @IRJ
                                last edited by

                                @IRJ said in WordPress website migration:

                                @JaredBusch said in WordPress website migration:

                                Why use a LE cert if oyu have CloudFlare in front? Use the cloudflare cert for the machine.

                                Fine

                                I thought I had a guide around here on how to use LetsEncrypt with Cloudflare and an Nginx proxy. If not, I could write one quick enough when I get home, I have it scripted now. I'd imagine you could use the same setup for your Wordpres site.

                                JaredBuschJ 1 Reply Last reply Reply Quote 0
                                • JaredBuschJ
                                  JaredBusch @travisdh1
                                  last edited by

                                  @travisdh1 said in WordPress website migration:

                                  @IRJ said in WordPress website migration:

                                  @JaredBusch said in WordPress website migration:

                                  Why use a LE cert if oyu have CloudFlare in front? Use the cloudflare cert for the machine.

                                  Fine

                                  I thought I had a guide around here on how to use LetsEncrypt with Cloudflare and an Nginx proxy. If not, I could write one quick enough when I get home, I have it scripted now. I'd imagine you could use the same setup for your Wordpres site.

                                  But what would be the point? You can have a 100% solid reliable encryption without that headache simply by using the machine CERT from cloud flair

                                  dbeatoD 1 Reply Last reply Reply Quote 1
                                  • dbeatoD
                                    dbeato @JaredBusch
                                    last edited by

                                    @JaredBusch said in WordPress website migration:

                                    @travisdh1 said in WordPress website migration:

                                    @IRJ said in WordPress website migration:

                                    @JaredBusch said in WordPress website migration:

                                    Why use a LE cert if oyu have CloudFlare in front? Use the cloudflare cert for the machine.

                                    Fine

                                    I thought I had a guide around here on how to use LetsEncrypt with Cloudflare and an Nginx proxy. If not, I could write one quick enough when I get home, I have it scripted now. I'd imagine you could use the same setup for your Wordpres site.

                                    But what would be the point? You can have a 100% solid reliable encryption without that headache simply by using the machine CERT from cloud flair

                                    or use the CloudFlare plugin for Wordpress..
                                    https://wordpress.org/plugins/cloudflare/

                                    1 Reply Last reply Reply Quote 1
                                    • wirestyle22W
                                      wirestyle22 @IRJ
                                      last edited by

                                      @IRJ This would be a heck of a guide if you ever get the time to do it

                                      1 Reply Last reply Reply Quote 0
                                      • 1 / 1
                                      • First post
                                        Last post