LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-07-2014, 10:38 PM   #1
suribabu
LQ Newbie
 
Registered: Jan 2014
Posts: 1

Rep: Reputation: Disabled
short form of http address


my new mail login page address is :http://server.abn.com/webmail/src/login.php

but I want to acess my webmail login page like http://mail.abn.com

please tell me how to do.
 
Old 01-09-2014, 07:14 AM   #2
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
You must create a mail subdomain and point the fqdn to the ip.

Last edited by ericson007; 01-09-2014 at 08:34 AM.
 
Old 01-09-2014, 07:35 AM   #3
lpwevers
Member
 
Registered: Apr 2005
Location: The Netherlands
Distribution: SuSE, CentOS
Posts: 143

Rep: Reputation: 20
Create a virtual host for your mail domain:
Code:
<VirtualHost *.80>
  ServerName server.abn.com
  DocumentRoot /var/www/html/webmail/src
  ErrorLog /var/log/httpd/error_log
  CustomLog /var/log/httpd/access_log combined
</VirtualHost>
 
Old 01-09-2014, 07:45 AM   #4
descendant_command
Senior Member
 
Registered: Mar 2012
Posts: 1,516

Rep: Reputation: 397Reputation: 397Reputation: 397Reputation: 397
You will also need it to contain
Code:
ServerName mail.abn.com
so it answers to the incoming requests for that name.

You should also look at how to enable SSL so your traffic is encrypted.


... and you can't point an DNS record at a port.

Last edited by descendant_command; 01-09-2014 at 07:47 AM.
 
1 members found this post helpful.
Old 01-09-2014, 08:37 AM   #5
ericson007
Member
 
Registered: Sep 2004
Location: Japan
Distribution: CentOS 7.1
Posts: 735

Rep: Reputation: 154Reputation: 154
Quote:
Originally Posted by descendant_command View Post

... and you can't point an DNS record at a port.
Post corrected, sorry for the glitch.. to much ip and port responses. Thanks for pointing that out.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] HTTP proxy information in the standard form VANGALA PRAVEEN KUMAR Linux - Newbie 4 06-18-2013 11:50 AM
[SOLVED] No form feed after printing short form gallicbear Linux - Hardware 3 08-17-2010 03:44 AM
TCP tuning for a server with very short HTTP connections jampy Linux - Networking 1 12-24-2009 10:15 AM
Http upload form times out Marcan Programming 4 03-03-2008 10:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:30 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration