I'm trying to get "Virituel hosting" with 1 domain to work on my Ubuntu Server. My experiance isn't too overwelming, but I belive that I'm closing in on the solution.
I would like MyDomain.se work with the directory: var/www/wordpress.
And this is the guide I've been using: http://www.debuntu.org/2006/02/22/7-...using-apache-2
This is what is in my etc/apache2/sites-enabled/wordpress.conf:
This is what's in my etc/hosts:
#We want to be able to access the web site using www.dev.example.com or dev.exa$
#if using awstats
ScriptAlias /awstats/ /usr/lib/cgi-bin/
#we want specific log file for this server
CustomLog /var/log/apache2/wordpress-access.log combined
So when I write "http://domainname.se" in web browser I get this html text written on my page:
127.0.0.1 localhost.localdomain localhost domainname.se www.domainname.se
# The following lines are desirable for IPv6 capable hosts
::1 localhost ip6-localhost ip6-loopback
So my domain is working - but it seems to be accessing the wrong root directory.
Apache is functioning normally
Can anyone help me look into this?