Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

gwa's avatar
Level 3

Demo Server

I wanted to spin up a simple Demo Server for WordPress Pages with forge.

My Idea was that I created a demo server. On this Demo Server I create a different site for all different WordPress Pages and link them with the bitbucket repository.

Than I put a soft link in the public folder of the default site with destination of the WordPress Page.

In the nginx config of the default site I put in this

location /myproject/ {
        try_files $uri $uri/ /index.php?$query_string;
    }

But unfortianatly I got a 404 than i put in the ip like xxx.xxx.xxx.xxx/myproject

Any Idea how to make this work? I would really like to benefit from the live deploy function.

Best Max

0 likes
0 replies

Please or to participate in this conversation.