document root

I‘ve main domain configured at and I’d like to use with different files. How do I add subdomain support with Lighttpd web server under UNIX or Linux operating systems?

{ 1 comment }

I know how to create a custom http 503 maintenance page under Lighttpd or Apache web server. How do I create a custom Nginx web server maintenance page?


How do I create a custom static HTTP 404 or HTTP 403 error page under nginx web server?


Can you explain usage of predefined variables called $_SERVER[‘PHP_SELF’]?


Q. How do I find out my Apache webserver document root under Linux / UNIX / BSD operating systems?


Q. How do I configure lighttpd web server as virtual host for serving multiple web site from a single public IP address (name-based virtual hosting)? A. Virtual hosting is a method that servers such as webservers use to host more than one domain name on the same server, sometimes on the same IP address. There […]

{ 1 comment }