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?

3 Answers

Relevance
  • 1 decade ago
    Favorite 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:

    http://www.watchex.net/.web_hosting_files/apache-h...

    (page is a bit messy, but it does have that info)

    Source(s): my Bachelor's in Computer Science and web hosting experience
    • Login to reply the answers
  • 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
    • Login to reply the answers
  • 1 decade ago

    You have to apply to ICANN to get a specified top level domain like that.

    The porn industry has tried to approve the .xxx TLD 3 times, and have been denied all 3 times.

    http://www.icann.org/

    • Login to reply the answers
Still have questions? Get your answers by asking now.