How do you do this: www.filename.url vs. www.url/filename

They have: 140 posts

Joined: Nov 2003

I am setting up a website that is giving away message boards for non profits and they will be hosted and accessed under my url. Each of these will have their own directory on my server.

I would like for each url to read: nonprofitname.mywebsite vs. mywebsite/nonprofitname ("nonprofitname" is the directory where the message board is located)

How do you do this?

Busy's picture

He has: 6,151 posts

Joined: May 2001

It is called a sub directory

Do you know what kind of control panel you have?
Some control panels automate the process for you

They have: 140 posts

Joined: Nov 2003

Hi-

I use cpanel at my hosting company. It automatically sets up the files so they appear mydomian.com/subdirectory.

I want it to be subdirectory.mydomain.com That's what I'm trying to figure out.

Thanks

He has: 698 posts

Joined: Jul 2005

cPanel has a section on it called "Subdomains". You can set up a subdomain through that. Wink

They have: 5,633 posts

Joined: Jan 1970

IMPORTANT!!!!!

It is bad to have a www. in front of a sub-domin.

http://resume.bja888.com - looks fine
http://www.resume.bja888.com - ugly

demonhale's picture

He has: 3,278 posts

Joined: May 2005

yes, because for example in a regular web site domain like demonhale.com, is still accessible by just demonhale.com

The subdomain named subdomain.demonhale.com is not the same as subdomain.demonhale.com

So maybe thats why youre asking how to go about and make it function like a regular domain?

They have: 5,633 posts

Joined: Jan 1970

The weird thing is though...

This domain never worked till I tested it
mail.yahoo.com

Back when I used yahoo, if you added the www it diden't work.

chrishirst's picture

He has: 379 posts

Joined: Apr 2005

you can use the www infront of a subdomain as well. It just needs setting up in DNS and in the virtualhosts (Apache) or hostheaders (IIS)

They have: 140 posts

Joined: Nov 2003

Thanks for the input. Figured it out.... easy once you know how.

They have: 5,633 posts

Joined: Jan 1970

I found most computer things are that way. So soon as someone takes the time to explain the consept everything falls into place.

Glad we could help you cbc58!

Want to join the discussion? Create an account or log in if you already have one. Joining is fast, free and painless! We’ll even whisk you back here when you’ve finished.