Project

General

Profile

[UE] Subdomain problem

Added by Kriso over 2 years ago

Hello! I am new to Linux and lighttpd. I have a domain, which is connected to CF. The subdomain is configured and redirects to the main site. How to make lighttpd recognize my subdomain and allow me to put my own content? The only thing I saw on the internet has this format and it isn't working (or at least not in /etc/lighttpd/lighttpd.conf). Any help would be appreciated:

$HTTP["host"] =~ "website" {
    server.document-root = "path" 
    accesslog.filename = "path" 
}


Replies (1)

RE: Subdomain problem - Added by gstrauss over 2 years ago

The only thing I saw on the internet ...

The official lighttpd documentation is on this site. Please try reading the authoritative lighttpd documentation (see links for Configuration: ...) and then post an update if you have further questions.

    (1-1/1)