Viewing 3 replies - 1 through 3 (of 3 total)
  • Dion

    (@diondesigns)

    Check your Apache configuration. Somewhere, probably in a .htaccess file, you are redirecting the domain to a LAN IP address.

    FYI, your main domain does not have an A record in its DNS. I suggest that you assign the IP address to mayhemprotocol.com and add a CNAME record back to the main domain for https://www.mayhemprotocol.com.

    Thread Starter mayhemprotocol

    (@mayhemprotocol)

    Thanks for your reply. I am very new to this so I am still learning as I go.
    As of right now, my .htaccess file looks like this…

    
    # BEGIN WordPress
    <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

    The tutorial I saw instructed to just copy and paste that code from codex.www.ads-software.com/htaccess

    As for the CNAME. I am hosting my own web server locally on my Raspberry Pi. I am not familiar with resource records, but I am not trying to redirect it to some other hosting service.

    Again, any help would be greatly appreciated.

    For your directory wordpress create .htaccess into wordpress directory change it RewriteBase /wordpress/ and RewriteRule . /wordpress/index.php [L]

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WordPress site isn’t public’ is closed to new replies.