Results 1 to 4 of 4

Thread: Virtual Hosts/Sites in VS-ftpd!

  1. #1
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Question Virtual Hosts/Sites in VS-ftpd!

    Hello!

    I have created two sites in vsftpd.I want both of them to reside on one IP-address and to ftp them by name.I don't how to do it .

    All the solution that i am getting are with multiple IP-addresses.I found one option in:

    vsftpd.conf.5 file
    Its link is:
    ftp://vsftpd.beasts.org/users/cevans/untar/vsftpd-2.0.4/

    The option is "pasv_addr_resolve".I am getting errors if i use this option.Can anyone suggest me something?.Looking forward for your replies.

  2. #2
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    As far as I know, FTP protocol itself DOES NOT support name-based virtual hosting (someone please correct me if I'm wrong). You can only use IP based virtual hosting in terms of running one daemon with multiple config file.
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

  3. #3
    Member honey bee's Avatar
    Join Date
    Feb 2006
    Location
    Pakistan
    Posts
    146

    Smile Thank u!

    Hello!

    Thank u for your reply . May be the word name based access is making confusion here.Actually i want to access a site which is hosted on my system.I want to access it by name and not by ip-address.It is possible in wu-ftpd, but i have to use vsftpd.

    Just can't find out what to do exactly.

  4. #4
    Moderator
    Good Guru
    Compunuts's Avatar
    Join Date
    May 2001
    Location
    California
    Posts
    3,935
    Put this one in your client box.

    Edit file, /etc/hosts (using either GUI based gedit or CLI vim) and put the following after the line "127.0.0.1 localhost" line.
    [code]
    192.168.0.1 your-name.your-domain your-name
    [/quote]
    where replace the above IP with your real ip.

    HTH ...
    LinuxVillage - The truely community run Linux/Floss forum !

    No IT BS !!

Similar Threads

  1. Apache virtual hosts and DNS!
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 2
    Last Post: 10-10-2006, 09:19 AM
  2. VS-ftpd problem for hosted virtual websites!
    By honey bee in forum Linux - Hardware, Networking & Security
    Replies: 5
    Last Post: 02-28-2006, 12:01 PM
  3. Issues creating a VLans using virtual NICs (Virtual-hosts)
    By knight72 in forum Linux - Hardware, Networking & Security
    Replies: 0
    Last Post: 11-19-2005, 11:37 PM
  4. back up virtual machines in Virtual Server 2005
    By regix in forum Windows - General Topics
    Replies: 0
    Last Post: 01-01-2005, 09:03 PM
  5. wu-ftpd
    By imported_LinuxGuy in forum Linux - General Topics
    Replies: 4
    Last Post: 06-23-2002, 04:57 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •