I'm using XAMPP on a VPS of mine, where I try to host 2 different websites at the moment. I plan on being able to host more. Currently; if I go to the VPS IP and one of the defined ports (in this case the two different ports I use are
8002) a different site displays. Port
8001 reads from one directory and port
8002 from another.
Now comes the tricky part. I want a domain of mine - let's say www.foo.com - direct to the IP with port
8001 for example. How can I do this? I was thinking it was via DNS but I read something that DNS has no perception of ports.
UPDATE: As per usual I always plan things to be much more complicated than they are. Correct vHost-settings = no need for ports etc ;)