Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > Linux Forums > Server Operation

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #1  
Old 13th July 2010, 22:12
krissie krissie is offline
Junior Member
 
Join Date: Jun 2010
Posts: 5
Thanks: 1
Thanked 0 Times in 0 Posts
Default make ftp.example.com default to ftp

I have my server set up, and I have my sites set up, and my dns set up for all but one of my subdomains and mx...

The one I'm not sure about is my ftp subdomain.

I've seen cases where ftp.example.com typed into an address bar automatically becomes (effectively) ftp.example.com:21 or ftp://ftp.example.com - or in other words, the subdomain automatically defaults to FTP.

I know that on a windows server it can be achieved by binding it to a port... not that I know anything about it. However, I don't have the first idea about doing it on Linux. I'm running CentOS 5.5 and ISPconfig3 ...

... could anybody offer me information on achieving this please?

Also, is it possible to block ftp from access with any other domain/subdomain?
Reply With Quote
Sponsored Links
  #2  
Old 14th July 2010, 18:07
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,749 Times in 2,579 Posts
 
Default

You can do this with rewrite rules: http://httpd.apache.org/docs/2.2/rew...ite_guide.html
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
How cai remove amavis from postfix ? gabrix Server Operation 16 2nd October 2012 10:58
RoundCube Sends but will not receive. happz Installation/Configuration 33 17th April 2010 22:55
Cannot send or receive mail farbrorc Installation/Configuration 6 24th January 2010 12:56
CGI and FormMail Cracklefish Installation/Configuration 17 13th October 2009 14:40
Default Mail scan settings for new users timehost Installation/Configuration 3 26th October 2007 13:05


All times are GMT +2. The time now is 08:13.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.