HTML Question - sever newbie question

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jpd1975
    Registered User
    • Oct 2007
    • 26

    #1

    HTML Question - sever newbie question

    I am working on my 2nd site - they both live on the same shared server - they each have distinct file structures; however there are two index.html files in the same main directory - I use dreamweaver for my sites and there are two different "projects" - is this enough to ensure that when a user hits my URL the correct index file is called... one is "index.html" and the other is "Index.html" or is it only currently working because of case sensitivity?
    http://superfantasticpics.com

    http://www.gamerzpost.com/forum
  • CyR
    Registered User
    • Sep 2002
    • 50

    #2
    depends how the server is configured but they will generally go for lowercase files.

    Most config's I've seen were "index.php index.cgi index.html index.htm".
    Last edited by CyR; 11-05-2007, 07:44 PM.

    Comment

    • fapman
      Registered User
      • Aug 2007
      • 21

      #3
      "index.html" will be the default. You will have to deal with case sensitivity on when you upload it to a Unix host.

      Comment

      • papill0n
        Unregistered Abuser
        • Oct 2007
        • 15547

        #4
        you would be better off naming one index.html anf the other index.htm

        Comment

        • V_RocKs
          Damn Right I Kiss Ass!
          • Nov 2003
          • 32449

          #5
          What? Umm.. you mean you have two domains pointing to the same directory on the server?

          Comment

          • the-photographer
            Confirmed User
            • Dec 2006
            • 497

            #6
            the best way is:

            create 2 directories:

            yourdomain1.com
            and
            yourdomain2.com

            upload all for yourdomain1.com in DIRECTORY "yourdomain1.com"
            and
            all for yourdomain2.com in DIRECTORY "yourdomain2.com"

            Changing Domain Settings:
            That can you handle over your "server administration control" (Confixx or what ever), there you only must type the target for domains!

            p.e.:

            domain1.com (target: /yourdomain1.com)

            and btw...the best way is to check what file will display at first (.htm, .html, .php) ... you can ask your hoster!
            http://www.thowo-production.com

            and:

            http://www.myspace.com/thowo_production

            Comment

            • directfiesta
              Too lazy to set a custom title
              • Oct 2002
              • 30135

              #7
              best would be to get a new virtual account that allows unlimited ADDON domains ( as we do ).
              So, for the same low price, you can host and serve many different domains.
              I know that Asspimple is stoopid ... As he says, it is a FACT !

              But I can't figure out how he can breathe or type , at the same time ....

              Comment

              Working...