Mapping domain returns blank page

Hi There,
Today I tried mapping a domain and it returned a blank page.

This is the first time I have done this since moving to an nginx set up so I imagine that possibly has something to do with it. Any chance you could help me trouble shoot this issue, i'm not seeing any clues in my error logs.

Thanks
Sam

  • Adam Czajczyk
    • Support Gorilla

    Hello Samuel,

    I hope you're well today and thank you for your question!

    Please make sure that the Domain Mapping plugin is installed properly first, as explained here:

    https://premium.wpmudev.org/project/domain-mapping/#product-usage

    It's important that the "sunrise.php" file is moved (not copied!) from the /wp-content/plugins/domain-mapping/ folder to /wp-content/ folder.

    Next step would be to uncomment "listen 80 default_server" line in nginx server settings.
    This should fix both issues I think.

    Let me know please if it helped!

    Best regards,
    Adam

    • Samuel
      • The Incredible Code Injector

      Hi @Adam Czajczyk,
      Thanks for your reply,
      Domain mapping is installed correctly already (I know this as I have been using it for over a year and have only moved servers.

      As for my nginx file, the line linsten 80; is already uncommented. Please see below, the first part of my nginx file:

      map $http_host $blogid {
          default       -999;
      }
      server {
              listen 80;
      
              # SLL Stuff
          listen 443 ssl;
          ssl_certificate /etc/ssl/skizzar/www.skizzar.com.chained.crt;
          ssl_certificate_key /etc/ssl/skizzar/www.skizzar.com.key;
      
          ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
          ssl_prefer_server_ciphers on;
          ssl_ciphers AES256+EECDH:AES256+EDH:!aNULL;
      
          root /usr/share/nginx/skizzar;
          index index.php index.html index.htm;
      
          add_header Access-Control-Allow-Origin *;
      
          server_name skizzar.com *.skizzar.com;

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.