I'm using Lighttpd and it works great.
I need to point the dedicated ip provided by my hosting service to a specific website on my VPS .
1) If I browse to the dedicated ip, I currently get an error message "could not connect to ..". Should I first enable on DNS settings.. or should I work on webserver configuration ?
2) I've added these lines to lighttpd config file. Is that correct ? (XXX.XXX.XXX.XXX is the dedicated ip)
$SERVER["socket"] == "XXX.XXX.XXX.XXX:80" {
server.document-root = "/var/www/path/to/website "
}
Update
ping XXX.XXX.95.175
PING XXX.XXX.95.175 (109.72.95.175) 56(84) bytes of data.
From XXX.XXX.95.174 icmp_seq=1 Destination Host Unreachable
From XXX.XXX.95.174 icmp_seq=2 Destination Host Unreachable
From XXX.XXX.95.174 icmp_seq=3 Destination Host Unreachable