Networking Forums

Networking Forums > Computer Networking > Linux Networking > Accessing a directory via a forward Domain...

Reply
Thread Tools Display Modes

Accessing a directory via a forward Domain...

 
 
PhilD
Guest
Posts: n/a

 
      12-20-2004, 03:31 PM
Hello everyone,

This really doesn't have much to do with Linux other than my server is
a Linux box. I thought this would be a good place to get some help
though. Okay, my problem is as follows.

I have a domain (www.mydomain.com) parked at godaddy.com and forwarding
to my static IP (012.34.56.789) this works fine. If I go to a browser
and type in www.mydomain.com I get my web page. Okay, I added dir
under /var/www/html/ and named it mydir so the path is
/var/www/html/mydir and placed an index file in it. Here is the
problem. I can access it if I use the following,
http://012.34.56.789/mydir/ but if I use www.mydomain.com/christmas/ I
get a 404 error from the parking DNS server.

Is this NORMAL??

If I link to it from a page in the root of my webserver it works fine.
I.E. browse to www.mydomain.com click on a link to (relative)
christmas/index.html it loads.

Is there a way around this? This leads in to my second question...
Right now I have a DNS set up on my server. It is set to "notify no".
At godaddy.com I can't point to my IP as it says it is not a valid name
server. If I change this to "notify yes" is there anything else I
would need to do to host my domain on my local server instead of having
it forward from godaddy?

I realize this may not be explained very well. Thanks for the help and
feel free to request more information if I have left something out.
PhilD

 
Reply With Quote
 
 
 
 
Randy McLaughlin
Guest
Posts: n/a

 
      12-20-2004, 04:04 PM
"PhilD" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed) ups.com...
> Hello everyone,
>
> This really doesn't have much to do with Linux other than my server is
> a Linux box. I thought this would be a good place to get some help
> though. Okay, my problem is as follows.
>
> I have a domain (www.mydomain.com) parked at godaddy.com and forwarding
> to my static IP (012.34.56.789) this works fine. If I go to a browser
> and type in www.mydomain.com I get my web page. Okay, I added dir
> under /var/www/html/ and named it mydir so the path is
> /var/www/html/mydir and placed an index file in it. Here is the
> problem. I can access it if I use the following,
> http://012.34.56.789/mydir/ but if I use www.mydomain.com/christmas/ I
> get a 404 error from the parking DNS server.
>
> Is this NORMAL??
>
> If I link to it from a page in the root of my webserver it works fine.
> I.E. browse to www.mydomain.com click on a link to (relative)
> christmas/index.html it loads.
>
> Is there a way around this? This leads in to my second question...
> Right now I have a DNS set up on my server. It is set to "notify no".
> At godaddy.com I can't point to my IP as it says it is not a valid name
> server. If I change this to "notify yes" is there anything else I
> would need to do to host my domain on my local server instead of having
> it forward from godaddy?
>
> I realize this may not be explained very well. Thanks for the help and
> feel free to request more information if I have left something out.
> PhilD


Read up on bind and setup your own nameserver. Google free secondary DNS's.
Parked domains work for single page websites but for "real" websites you
need to use a full DNS.

It is simple, it is easy, it is free.

About all it takes is some minor editing of /etc/named.conf and creating
/var/named/mydomain.com.zone.

If you change your network settings you will find that web access from your
linux box is faster by not using your ISP's DNS server.


Randy


 
Reply With Quote
 
PhilD
Guest
Posts: n/a

 
      12-20-2004, 04:57 PM
Thanks for the reply. I think I will set one up on Public-DNS.org to
be used as my secondary. I already have bind running on my server with
my domain name, just not notifing. Godaddy requires to DNS servers
anyway I think.

I will give this a try and let everyone know what happend. Any other
questions / suggestions are always welcome.

PhilD

 
Reply With Quote
 
Dan
Guest
Posts: n/a

 
      12-21-2004, 05:38 AM
On Mon, 20 Dec 2004 11:04:22 -0600, "Randy McLaughlin"
<(E-Mail Removed)> wrote:


>Read up on bind and setup your own nameserver. Google free secondary DNS's.
>Parked domains work for single page websites but for "real" websites you
>need to use a full DNS.


Or alternatively go to zoneedit.com. They provide free primary and
secondary DNS.

Dan

>

 
Reply With Quote
 
 
 
Reply

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
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to remove NT BDC from Active Directory domain Lloyd Wolf Windows Networking 1 11-10-2007 09:47 PM
Domain Controller and Active Directory egsdar Wireless Networks 1 05-04-2005 06:43 PM
Problem accessing domain computers from Active Directory Server Jaime Stuardo Windows Networking 0 02-22-2005 09:28 AM
Domain Controller/Active Directory =?Utf-8?B?UGF1bA==?= Windows Networking 2 05-03-2004 10:44 PM
Need hep with Accessing user files on NT4 server shared user directory Terry Windows Networking 1 09-07-2003 06:54 AM



1 2 3 4 5 6 7 8 9 10 11