I have set 4 domains up using Nginx etc. and have an html folder structured as follows:
html/site1/ html/site2/ html/site3/ html/site4/
The problem is when I go to 123.456.789.012 I get the default Nginx page and my domains are actually at 123.456.789.012/site1/ etc. This makes sense to me, I know why it's doing it, all sites are in sub folders from the root.
Basically I want 123.456.789.012 to redirect to 123.456.789.012/site1/ but without the /site1/ attached. Is this possible without moving my files of site1 to the root?
Does it even matter leaving it as is? I can't imagine anyone wanting to browse my site via IP.