I've got this to work before a few years back and now I can't remember what on earth you do.
I'm running Apache on my machine. The machine doesn't have an IP address, so I use loopback localhost.
What I'm trying to do is to set up sub-domains on this. I need to set up sub domains to test various sites I have on my local machine, without having to edit the conf files to point to a different web site root every time.
I can't remember if this can be done using localhost, or do you do it with port numbers on a localhost? Ie, one document root on port 80, another on 8080 etc.
Anyone got any ideas for me?
Cheers
Wil
- wil
I'm running Apache on my machine. The machine doesn't have an IP address, so I use loopback localhost.
What I'm trying to do is to set up sub-domains on this. I need to set up sub domains to test various sites I have on my local machine, without having to edit the conf files to point to a different web site root every time.
I can't remember if this can be done using localhost, or do you do it with port numbers on a localhost? Ie, one document root on port 80, another on 8080 etc.
Anyone got any ideas for me?
Cheers
Wil
- wil