LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 11-16-2005, 10:33 AM   #1
unix20009876
LQ Newbie
 
Registered: Nov 2005
Posts: 11

Rep: Reputation: 0
ftp and subdomain


I use C++ on Windows OS to login my UNIX host with same user name and pswd with 3 different domain names, but get exactlly the same contents and has the same root directory.

the domain names are:
1) mydomain.com
2) www mydomain.com
3) www2 mydomain.com (this is a subdomain)

do you know why?
 
Old 11-16-2005, 10:59 AM   #2
RedShirt
Senior Member
 
Registered: Oct 2005
Location: Denver
Distribution: Sabayon 3.5Loop2
Posts: 1,150

Rep: Reputation: 45
Because subdomains are folders linked to the domain name... for instance:
"www.myplace.com/Linux/images" can be mapped to "images.myplace.com." But in the directory structure you would still see it as httppdocs/Linux/images/ or something like that depending on the host. In you case it would be something akin to "httpdocs/www/" and "httpdocs/www2/" while the "httpdocs" folder holds everything.
 
  


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
subdomain and apache ziggie216 Linux - Newbie 1 11-12-2003 02:36 PM
subdomain points a different NS ceynet Linux - Networking 0 08-21-2003 05:48 AM
Subdomain help DoobyWho Linux - General 3 04-14-2003 06:51 PM
Ftp and subdomain! eXor Linux - Networking 0 10-15-2002 11:52 AM
subdomain deepak Linux - Networking 2 03-01-2001 09:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:50 AM.

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
Open Source Consulting | Domain Registration