I have two related questions:
1- When I see my global IP address in a website like https://whatismyipaddress.com/, which is for example X.X.X.X, I think this is not only mine, and a lot of people who are connected to my ISP may see this IP as their global IP address too. Is this correct? Or this IP is uniquely for me and it only may change in future (for example in my next connection)?
2- Based on the first question (the global IP is not only for me), I want to run a web server on my PC and access it over the internet without a static IP through a server which has a static IP. I think I should be able to do something like that but I don't know how?
Here is what I'm thinking about: https://i.sstatic.net/rDovQ.jpg
1- My PC is connected to the server using a socket (something like VPN). PC_SOCKET is connected to SERVER_SOCKET.
2- A client asks a url and the server redirects it to my PC (PC_SOCKET) using SERVER_SOCKET (nginx proxy_pass)
3- PC_SOCKET gives the requested url to my web server (nginx) and gets the response
4- PC_SOCKET sends the response to SERVER_SOCKET
5- SERVER_SOCKET gives the response to nginx
6- The client receives the response
Sorry if I asked this simple question in a complicated way. The only thing that I need is how should I redirect requests between server and my PC.