Minggu, 31 Oktober 2010

Virtual Host Configuration (Virtual Domains)

Open the httpd.conf file (or apache.conf) you. Its location is usually in the directory / etc or / opt / lampp / etc.

Enable Virtual Host module by removing the "#"

# LoadModule vhost_alias_module modules / mod_vhost_alias.so

becomes:

Vhost_alias_module LoadModule modules / mod_vhost_alias.so

Or similar module name.

Add the following line at the very bottom:

# Customs

Include / opt / lampp / htdocs / virtual-host.conf

or

# Customs

Include / home / ipul / virtual-host.conf

If the default installation of Apache already has a virtual-host.conf configuration file or the like, just use that.

Add these lines and save on a virtual file-host.conf:


<VirtualHost 127.0.1.2>

ServerName howto-geek.blosgpot.com

DocumentRoot / home / ipul / web / howto-geek.blosgpot.com

<Directory /home/ipul/website/howto-geek.blosgpot.com>

AllowOverride All

All Options

</ Directory>

</ VirtualHost>


Add Host / Domain

Then add the host howto-geek.blosgpot.com with the IP 127.0.1.2 to the file / etc / hosts (as root!)


Howto-geek.blosgpot.com 127.0.1.2


after that restart by means of:

/ Opt / lampp / lampp start

now open in your browser http://howto-geek.blosgpot.com if open means you can learn to make Multy own domain.

Selasa, 26 Oktober 2010