News:

The anti-spam plugins have stopped being effective. Registration is back to requiring approval. After registering, you must ALSO email me with your username, so that I can manually approve your account.

Main Menu

How does one make an http://[something].domainname.com ?

Started by fesworks, July 25, 2008, 06:50:52 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

fesworks

I mean, we got [ourusername].xepher.net


but about about when we have our own domain names?


such as www.fesworks.com


is there a way to make a [custom].fesworks.com ??

www.PSIwebcomic.com
www.TheShifterArchive.com
www.ArdraComic.com
www.WebcomicBeacon.com

JM

Well first you have to buy the domainname. You can get that off a site like GoDaddy.com (what a peculiar name).


I forgot how the whole subdomain thing works, though. My bad.

Xepher

JM: He's already bought the domain name. Net names are hiarchal. If you own a domain, you have control of all subdomains, and anyone that "owns" a particular subdomain is assumed to have authority over sub-sub domains. In reality, it rarely goes below the 2nd level, "something.com" types, though large institutions like NASA or universities will often delegate ownership further down. For example, http://education.jpl.nasa.gov/ is "owned" by JPL, and JPL was given that assignment by the main ownership of "nasa.gov" which was given that ownership by the owner of "gov." Yes, there are technically owners for the top-level domains like .com, .net and such.

Anyway, lesson over, on with the actual solution.

Answer: You (and anyone else with a domain here) already have whatever subdomains you want listed. I use wildcard dns, so "*.yourdomain.com" will point to your site. http://test.fesworks.com works right now, for example. If you want subdomains to point to DIFFERENT parts of your site, then it's just a matter of mod_rewrite rules. I believe you've already do that to keep fesworks separate from TWCB and the shifter archives. It's just a matter of adding those same kind of rules for subdomains.

Oh, and for future notice, xepher.net specific stuff like this would probably go better under tech support, though I'm noticing a fair amount of topics that likewise don't quite belong here. I'll be moving this thread in a moment, and slowly try to weed more of these type into their proper category/forum. I've been too lax on that and I'm sure it's confusing everyone.

fesworks

Sorry about that.

Thanks for the info. As soon as I get a moment, I'll mess with the code.... see if I can work it.

www.PSIwebcomic.com
www.TheShifterArchive.com
www.ArdraComic.com
www.WebcomicBeacon.com

fesworks

Cool! I think I got it!

RewriteCond %{HTTP_HOST}   (benj.*)theshifterarchive\.com$ [NC]
RewriteCond %{HTTP_HOST}   !^$
RewriteCond %{REQUEST_URI}  !^http://www\.bjccreations.\com/jenny/(.*)
RewriteRule ^(.*)         http://www\.bjccreations.\com/jenny/$1 [L]


on a side note, can you make "JennyEverywhere.net" on the server? I currently have it as a redirect on GoDaddy, but I want it hosted on Xepher now since I have a more practical use for it... related to why I started this thread. I'll change the nameservers as soon as you do :)

I'm looking to change up a bunch of code over the next few months. It's a real mess right now, and not as clean looking.

EDIT: I should clarify that I want it added to the jennyeverywhere.xepher.net account... then again, looking at what I've said, I suppose it's obvious o_O

www.PSIwebcomic.com
www.TheShifterArchive.com
www.ArdraComic.com
www.WebcomicBeacon.com

Xepher


fesworks


www.PSIwebcomic.com
www.TheShifterArchive.com
www.ArdraComic.com
www.WebcomicBeacon.com