Hey everyone. I've been coding HTML and PHP for a while now, but when it comes to how domains and subdomains work I'm totally lost. I have a site up:
http://duvet.vuse.vanderbilt.edu/RER , and I'd like to change the URL to get to it to something like http://www.rer-group.org or more preferably http://rer.vanderbilt.edu .
So I've got a couple questions.
1) If I registered for a domain, would I be able to make it use the subfolder RER instead of just the base (duvet.vuse.vanderbilt.edu) ?
2) Is it possible to have subdomains like rer.vanderbilt.edu use the content from duvet.vuse.vanderbilt.edu/RER ?
If it's not possible for subdomains to use content from another section of the domain, then I guess I could put in a page that forwards the user to the real site, but it would really be nice to display a URL like http://rer.vanderbilt.edu/index.html when the users are browsing the site.
General confusion about domains
Moderator: General Moderators
- RandomEngy
- Forum Contributor
- Posts: 173
- Joined: Wed Jun 26, 2002 3:24 pm
- Contact:
Register.com - I just registered my domain (PerfectPHP.Com) from them, and you can add new subdomains, and forward it to any URL that you want. In example, if I wanted help.perfectphp.com, I could forward it to perfectphp.com/helpme or even http://www.help.com.
Hope this answers your question.
Hope this answers your question.
- RandomEngy
- Forum Contributor
- Posts: 173
- Joined: Wed Jun 26, 2002 3:24 pm
- Contact:
Does URL forwarding keep the original domain the user entered in the address bar?
(edit) I'm beginning to suspect it doesnt. So is there a way to have http://rer.vanderbilt.edu/index.html in the address bar, but the content of http://duvet.vuse.vanderbilt.edu/RER/index.html displayed?
(edit) I'm beginning to suspect it doesnt. So is there a way to have http://rer.vanderbilt.edu/index.html in the address bar, but the content of http://duvet.vuse.vanderbilt.edu/RER/index.html displayed?
Yes it does keep the da.domain.com in the address bar.RandomEngy wrote:Does URL forwarding keep the original domain the user entered in the address bar?
(edit) I'm beginning to suspect it doesnt. So is there a way to have http://rer.vanderbilt.edu/index.html in the address bar, but the content of http://duvet.vuse.vanderbilt.edu/RER/index.html displayed?
- twigletmac
- Her Royal Site Adminness
- Posts: 5371
- Joined: Tue Apr 23, 2002 2:21 am
- Location: Essex, UK
You won't be able to register a sub-domain under vanderbilt.edu as the domain vanderbilt.edu is already registered to somebody else (ie. the university). You have to ask the administrator (web admin or someone) of vanderbilt.edu to set you up a sub-domain. They could then point the domain to wherever your files are stored. Two sub-domains can easily share the same content. Granting and administrating sub-domains is at the discretion of the owner of the domain.
You can register a new .org address for yourself though. Then you'll be the administrator of it and will be able to set-up sub-domains (if your host or registrar allows it) and use it to cloak your original URL.
Mac
You can register a new .org address for yourself though. Then you'll be the administrator of it and will be able to set-up sub-domains (if your host or registrar allows it) and use it to cloak your original URL.
Mac
- RandomEngy
- Forum Contributor
- Posts: 173
- Joined: Wed Jun 26, 2002 3:24 pm
- Contact:
Thanks for all your help. My boss would prefer rer.vanderbilt.edu to http://www.rer-group.org, so I'm trying to get a subdomain forwarding thing going with Vanderbilt. Have no idea if I'll get it or not.
