Is it possible to configure lighttpd to get this:


subdomani2. . . .

Or something like this:



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 to domainname.com but only in name but i don't know how to set it up.

Thanks in advance.


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.

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy