LinuxQuestions.org
Register a domain and help support LQ
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 01-27-2004, 09:52 AM   #1
dominant
Member
 
Registered: Jan 2004
Posts: 409

Rep: Reputation: 30
domain pointing to a specific folder


there is a server x.y.x.com

and i want a domain aa.vv.com to point a specific folder from the x.y.com

Is it practicable?
 
Old 01-27-2004, 09:12 PM   #2
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
I think you mean. I've got apache answering for x.y.com and its document root is set to, say: /var/www/htdocs/index.html, meanwhile I've also got aa.vv.com aimed at that machine and I want apache to know its document root is: /var/www/htdocs/aavv/index.html

Is that right?

If so, Virtual Domains.... take a look at your httpd.conf file and page down to near the bottom. Remember you'll have to create a virtual entry for your primary domain too.

Also, this is so NOT a hardware question, I'm gonna move this one to Software.

Cheers,

Finegan
 
Old 01-28-2004, 02:38 AM   #3
dominant
Member
 
Registered: Jan 2004
Posts: 409

Original Poster
Rep: Reputation: 30
Thanks for your response.

I feel that i have to change the name server to make the new subdomain x.y.com of x.com

Am i right?
 
Old 01-28-2004, 02:49 AM   #4
finegan
Guru
 
Registered: Aug 2001
Location: Dublin, Ireland
Distribution: Slackware
Posts: 5,700

Rep: Reputation: 57
This x.y. stuff is a little confusing. Let's use a full word:

In the name server record for goop.com if you wanted a blue.goop.com, then yes you need to add an entry for blue into goop.com's primary name record to point to the same IP.

Then amend the httpd.conf file for virtual domains.

Cheers,

Finegan
 
  


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
Jailing a user to a specific folder ONLY GUIPenguin Linux - Security 3 09-23-2005 06:16 AM
How do I FTP into specific folder hrp2171 Slackware 3 10-18-2004 07:30 PM
howto folder/file sharing with specific groups kmhui Linux - Newbie 5 09-18-2004 07:05 PM
Domain and specific 'word' blocking in firewall2 hiplainsdrifter Linux - Newbie 5 04-07-2004 03:54 PM
Newb: Pointing my domain name to my linux server once here Linux - Networking 2 09-08-2003 04:57 PM


All times are GMT -5. The time now is 08:17 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration