Gandi.net Groups

Hosting General: Re: Posting websites

In topic: Posting websites

You should be logged in to post new messages. Create an account.

On Jan, 19 2008 00:49 CET, Jason wrote:
I know I'm the only one here and by looking back, I see there there is
VERY limited hosting support through the forums. 

Nevertheless, maybe someone can learn from my own trial and error.

To identify the directory for your domain name (virtual host), you
need
to be in advanced mode.

You don't need to have your site in the default "htdocs", and your
site
folder can be named whatever you want.

I ran some tests and it works as expected.

HOWEVER, I still don't know how to get it to show my domain name with
the "www" in front.
Hello,

This is due to the current default configuration of the Apache
virtualhost for Gandi AI. 

In order for Apache to know how to handle the request for a particular
hostname, there needs to be a specific statement in the virtualhost
file that will point a particular hostname to a directory.

Therefore, for example, is you have configured Apache to respond to the
virtualhost domain.com then it will not reply to the www subdomain.

What you will need to do is to use Gandi's forwarding and then create a
forwarding from the www subdomain to the domain name.

For more on setting up forwarding:
http://wiki.gandi.net/en/domains/managemen...

In expert mode you would simply add a ServerAlias in the sites-available
virtualhost file for the website (documention on this may be found here:
http://httpd.apache.org/docs/2.0/mod/core....

Otherwise, for more personalized support on your problem, please feel
free to contact Gandi's customer support at:
http://www.gandi.net/faq/form_contact_supp...

You mentioned that "You don't need to have your site in the default
"htdocs", and your site folder can be named whatever you want.". This
should not be the case, and is possibly indicative of a bug. I would be
interested in hearing more on this.



Regards,
Ryan
http://www.gandi.net/