Gandi Wiki


You are on a question's page

Managing your servers
answered

Question "Link VPS to a domain", by Massimo M.

Hi all,

how can I assign a VPS to my domain?

Thanx

M

Answer, by ABE NEL.

Howto modify VirtualHost

root@host:~# nano -w /etc/apache2/sites-enabled/000-default

<VirtualHost *:80>

ServerAdmin admin@nel.bz

ServerName www.nel.bz

ServerAlias nel.bz

DocumentRoot /home/nelbz

<Directory /home/nelbz>

Options Indexes FollowSymLinks MultiViews

AllowOverride None

Order allow,deny

allow from all

</Directory>

</VirtualHost>

Try this. :)

Follow-up, by Emerick M. (Gandi)

Hello,

please connect to the Gandi control panel, go on your domain name management page and click on the desired domain name.

You can use :
* the 'use a server' link on the top-right,
* configure manually your DNS zone file at the bottom of the page by adding some records like :

@ A 1.2.3.4
www A 1.2.3.4

Validate the changes and wait for threee hours for the DNS to finish propagating.

Regards.

Last modified: 28 Jul 2010 at 09:11 by Emerick M. (Gandi)