• Warning: longish post.
    I have this setup with 4 VMs.

    • Internet->Local Network Varnish router->firstdomain1.com (VM1)
    • Internet->Local Network Varnish router->seconddomain2.com (VM2)
    • Internet->Local Network Varnish router->Internal IP3 (VM3)
    • Internet->Local Network Varnish router->Internal IP4 (VM4)

    WordPress is installed on VM3 and has an internal IP. On the network, I see no fileupload errors. The goal is to have wordpress on IP3 behave as thirddomain3.com

    Step 1:
    I point thirddomain3.com to IP3 using Varnish, and I can see wordpress from the internet. However all links for a user from the internet point to a local ip3, and as soon as a user clicks on comments or a home page the server tries to go to local IP3 and times out. I can still get to wordpress and upload images if I am on the local network, with no problems.

    Step 2:
    So I went to wordpress and update the Settings->General->WordPress Address (URL) and Settings->General->Site Address (URL) to thirddomain3.com. All external users can browse the site but i now get errors on the local network. When I try to upload an image on a post I get aync-upload.php 403 forbidden error even though the mod_Security is off in the htaccess file !! Cant seem to win!

    How do I configure wordpress , apache or varnish or all 3 somehow, so I can access the site over the internet using thirddomain3.com and also be able to upload the images and not get the 403 error ?

    Here is my htaccess file

    <IfModule mod_security.c>
    <Files async-upload.php>
    SecFilterEngine Off
    SecFilterScanPOST Off
    </Files>
    </IfModule>
    
    # 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
Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter piper5ul

    (@piper5ul)

    Apologies – this is not the right forum. I am deleting this topic and move it to the generic troubleshooting forum.

    This is the correct forum for server configuration issues.

    Dear Esmi,

    I have been trying to set up a link for Contact Us in the Main Menu of my Website.

    I stuffed it up!

    In one of the Link setups, I wrote www.ads-software.com thinking that it was supposed to be written there.

    I came straight to here. I have tried to get back to get back to my own Administration set up but I keep ending up here.

    Is there anyway that I can rectify this problem?

    Thank you for any help that you can give me, for this.

    Thomas

    About the Website that I am trying to get back to, it’s https://futurefortune.net

    At the moment I am locked out. I am permanently logged into the Dashboard.

    Hey People,

    I just wanted to update everyone or, anyone of what I did about my problem.

    I rang through to the Website Host, USA. They will be working on this problem within the next working day.

    Just to let you know.

    Thomas.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Errors when pointing to domainname, no error with local IP’ is closed to new replies.