Why do some websites have their own file extensions?
like. sstg, for Stanton Street Technology Group
or .jcw, for JC Whitney.
Why do they have that and how do they do that?
- WiseguyLv 41 decade agoFavorite Answer
You can specify any file types you want. For example, let's say you have Apache and PHP. You want "mysite" as a file extension. In Apache's config file (httpd.conf) or directory-specific config file (.htaccess), you can specify a MIME type handler to recognize *.mysite as a PHP file and to parse it with PHP.
If you're using Apache, I could give you exact instructions. Otherwise, I'm not positive what it would be, but I'm sure it's possible. (I know vaguely how it would work in MS IIS).
Here's what I'm talking about:
(page is a bit messy, but it does have that info)Source(s): my Bachelor's in Computer Science and web hosting experience
- 1 decade ago
Its done through the server configuration. Depending on your hosting sometime you can do similar things for your hosting configuration. Like on godaddy you can setup a .htaccess file in the root directory for you webspace to tell it to parse (for example) .jcw files as html or php. If you don't have access to the server configuration or your hosting doesnt have the option for something like this then you are limited to the "regular" extensions (.html, .php, .jsp, etc)Source(s): Web Development Experience