Sub-Domain

Delusion2001

Banned
Feb 13, 2001
1,370
0
0
Alright people.........i set up with my hosting company a subdomain.....however, when you type in the subdomain, it takes you to the domain. they say taht i need some script that will redirect people when they type in my subdomain. So, does anyone know of a script that i could use to do that? (preferably freeware). Thanks
 

DAM

Diamond Member
Jan 10, 2000
6,102
1
76
theres a java script to do this, do a search on the forums, this has been discussed, done and archived.





dam()
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
Do you mean you have a domain such as sub.domain.com, on which you have, say a webserver with the address www.sub.domain.com?

Or do you mean you have a subdomain that has its own DNS?
Like the domain domain.com uses ns1.domain.com and ns2.domain.com for DNS's, while sub.domain.com will use ns1 and ns2.sub.domain.com for its DNS's?

In either case its a matter of DNS entrys.
 

Delusion2001

Banned
Feb 13, 2001
1,370
0
0
I have the domain dbzfancentral.com, and i have the subdomain images.dbzfancentral.com. however, when you go to the subdomain, it takes you to dbzfancentral.com. the support people told me there is a script somewhere to redirect people, and they themselves cannot do the redirect thing
 

Sunner

Elite Member
Oct 9, 1999
11,641
0
76
So, I assume you dont want it to be a doamin of itself so to speak.
Which would mean nameservers of its own, etc etc, you just want a name to link to, correct?

As long as you have a DNS entry for the server I dont really see the problem.
I should mention though that I havent worked with web stuff in a while, so I might be in error, but it should work by just setting up an address and linking to it.
Say your server has the address 195.195.195.195, the nameserver would point images.dbzfancentral.com to that address, and you should be able to link to that server like any other server.

Say you have a docs directory on the server with the image domain.jpg, and this is your webroot, in that case you would link to images.dbzfancentral.com/domain.jpg, shouldnt be any problems with that as far as I can see.