Moin,
if you are new in web development, I would suggest you to start like this:
1. learn how to configure apache:
http://httpd.apache.org/docs/2.2/en/
2. learn about html, css, javascript
:
http://www.pagetutor.com/index.html (and many others)
3. learn how to configure and how to use mysql:
http://dev.mysql.com/doc/
4. learn about php:
http://www.php.net/
And then: Do
NOT use Komposer or other web development environments to create your first web site! Use a simple text editor (it's easy to write the first index.html - example below). This way you understand, what you are doing - the web is full of sites created by people not having the faintest idea of what they've done.
Code:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Strict//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>My first website</title>
</head>
<body>
<h1>My first website</h1>
<p>
The quick brown fox jumps over the lazy dog.
</p>
</body>
</html>
BTW: You don't need a dns server to setup a website in your local net. On your local server you can access the site via "http://localhost/your_site" (apache itself can be found at "http://localhost"), on other systems the ip address or the name you defined in /etc/hosts can be used.
hth
Jan
P.S.: If you are free in the choice of a database to use, I'd prefer PostgreSQL (
http://www.postgresql.org) - in my opinion MySQL was never and is yet not really a database ;-), PostgreSQL is much more powerful! And the new owner of MySQL (Oracle) is currently doing a bad job - the main MySQL developers already left the company and created a fork (MariaDB:
http://mariadb.org/). But that's my personal opinion, I don't want to start a database flamewar.