chesterthebear Posted February 14, 2007 Share Posted February 14, 2007 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 Quote Link to comment Share on other sites More sharing options...
effigy Posted February 14, 2007 Share Posted February 14, 2007 Aliases are for folder management, not name resolution. The only thing I can think of at the moment would be to buy an additional domain name (or get one free) and direct it to this box. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.