Creating new servers suddenly fails 502- bad gateway

Hello I have been running virtualmin server for a copple of moths now and have recently had to reinstall everything from scratch again. Everything is now running, but today when I had to add a new sub-server it fails with 502 bad gateway. It seems like it is creating it but is not reachable in any ways. I have tryied to install wordpress wich also fails. Also top level server fails.

can anybody lead me in the right way?



So i found out that It might be the fact that im using proxy for webmin/virtualmin is there a workaround for this or do I have to login through ip everytime I would have to create servers?

Is the proxy an Apache or Nginx server running on the Virtualmin system?