LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 04-27-2004, 09:32 AM   #1
natedog550
LQ Newbie
 
Registered: Oct 2003
Posts: 10

Rep: Reputation: 0
DNS server help


I'm currently hosting my friends website on my web server. What I did was set him up a domain name that does forwarding and masking to my domain name/his folder. So it forwards to http://mydomain.com/his folder and masks it so that his domain is http://hisdomain.com

But I don't like that for one main reason. If someone was to type http://hisdomain.com/somefolder then it says no page found, because of the forwarding and masking thing.

Another thing is right now my domain points to a DNS server on the network where my server is and that points to my IP.

Is any of this making any sense?

So basically I want my friend to be able to use: http://hisdomain.com/whatever_folder_he_wants. Also it would be nice for him to have email to come to hisdomain.com

I was just wondering if there was a way to make bind DNS point to a folder instead of a server. So I could setup his domain name to point to my server's IP instead of forwarding and masking?

Is any of this possible or have I just confused the issue?

Thanks.

--
Nathan Peters

Last edited by natedog550; 04-27-2004 at 10:09 AM.
 
Old 05-06-2004, 09:46 PM   #2
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
What I think you should really do is set up DNS so that his domain points to your IP address, then you can do some configuring in apache to have it work out correctly.

Forget the whole forwarding junk, or whatever you're talking about ( yes, it makes no sense :-P well sorta ;-) )
 
Old 05-06-2004, 09:57 PM   #3
natedog550
LQ Newbie
 
Registered: Oct 2003
Posts: 10

Original Poster
Rep: Reputation: 0
hey what's up

lol took this long for someone to reply that sux...guess i'm too dang confusing haha

neways.......nah man i got it fixed

I did similar to what you said

I first edited the domain name to point to the IP of my server instead of name servers

Then I set up virtual hosts in apache......

pretty straight forward and real easy

works like a charm now
 
Old 05-06-2004, 10:01 PM   #4
Technoslave
Member
 
Registered: Dec 2003
Location: Northern VA
Posts: 493

Rep: Reputation: 30
Yep, that's what I was talking about. Yeah, I've been away from linuxquestions for a good week or so, normally a question likes yours I'd have skimmed over and given you the good quick response.

Good to know you got it working.
 
  


Reply



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



Similar Threads
Thread Thread Starter Forum Replies Last Post
dns client cannot resolve on dns server jtvillegas Linux - Software 3 03-12-2016 03:30 PM
Do I leave primary and seconday DNS blank for a DNS Server? imsam Linux - Networking 3 10-25-2004 01:48 PM
lame dns servers etc and general dns issues suse_linux9.1 Linux - Networking 3 06-01-2004 01:50 PM
DNS still slow after installing caching DNS mooreted Linux - Networking 16 01-01-2004 12:18 AM
need help to set up caching only dns server to with bogus DNS entries ullas Linux - Networking 1 10-28-2003 01:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:33 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