Is it possible to configure lighttpd to get this:

subdomain1.127.0.0.1

subdomani2.127.0.0.1 . . .

Or something like this:

domainname.com

subdomain.domainame.com

if the domainname is not yet registred, ie. i want it to run on my machine but with all the configuration that will eventualy end up on the real server. I think it would work with some kind of a reddirect from 127.0.0.1 to domainname.com but only in name but i don't know how to set it up.

Thanks in advance.

link|improve this question
You might have better luck at serverfault.com. – Matt Solnit Feb 25 '10 at 22:04
feedback

migrated from stackoverflow.com Feb 26 '10 at 6:11

This question came from our site for professional and enthusiast programmers.

1 Answer

If I understand right, you want to test-drive the server locally using the final URLs. You should be able to do this with your hosts file.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown