Jump to content

Making My Server More 'Friendly' With Aliases


chesterthebear

Recommended Posts

Hi all.

First, let me apologise in advance if I ask really dumb questions here, or if the question is too long.  I am a total Apache newbie who has decided to take the leap into managing his own server, and I am finding it all a little bewildering.

 

My problem of the day is that I want to make the server more "friendly" for visitors/account holders.

 

The way it's been set up for me, useful stuff is in a very unuseful place.  By that I mean that, say, for a user to access his/her webmail account, they need to type in a very long, hard-to-remember address, something like tlc.xm.ser899876.xyzhost.com/squirrelmail.

 

That address is the same for mail for all domains on the server.  Clearly, what we'd want for our users is something like domain.tld/webmail

 

I am told that I need an Alias, but I'm a little foggy on the idea of creating a universal alias.

 

As a template, I have an alias to our own control panel suite like this...

Alias /control /usr/share/control

<Directory /usr/share/control>

    AllowOverride All

</Directory>

 

That alias is in a file control.conf within the conf.d directory, so I would have expected squirrelmail to have something similar.  It doesn't.

 

Squirrelmail has a conf file 'apache.conf' within its directory, but not in the apache2/conf.d dorectory.

 

Ok... now the question.

How do I set up an alias so that when a user types

domain.tld/webmail, he ends up with squirrelmail at tlc.xm.ser899876.xyzhost.com/squirrelmail, but his address bar doesn't change?

 

Thanks

CTB

 

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.