Now the first page loads fine after i redid the css and image links to refer to the correct file without the starting slash. But when I in the controller for example do:
That is strange, I have a working copy that use localhost:8080 and all works properly.
Maybe is just a problem of host configuration on your machine, why don’t you change the internal name to something else, like localhost or anything different to webserver?
The above links got shortened so that kind of ruined the point. The problem is that it if the extranal site is located behind a reverse proxy and you need to refer to it as https://somedomain/sitename and internally you can access it at http://webdevelopment:<port> so the sitename part is needed externally and internally it’s the root folder.