How to redirect index.htm to Domainame

Discussion in 'Site & Server Administration' started by godmode, Jun 18, 2008.

  1. #1
    godmode, Jun 18, 2008 IP
  2. mellow-h

    mellow-h Peon

    Messages:
    750
    Likes Received:
    14
    Best Answers:
    0
    Trophy Points:
    0
    #2
    mellow-h, Jun 19, 2008 IP
  3. life31

    life31 Active Member

    Messages:
    1,024
    Likes Received:
    12
    Best Answers:
    0
    Trophy Points:
    78
    #3
    Not getting what exactly u r looking for. are they both saperate domains?? For redirecting you can write a simple header in the index.html. That wil work
     
    life31, Jun 19, 2008 IP
  4. secureserver1

    secureserver1 Banned

    Messages:
    34
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Which control panel do you have?
     
    secureserver1, Jun 19, 2008 IP
  5. chtdatweb

    chtdatweb Well-Known Member

    Messages:
    1,473
    Likes Received:
    23
    Best Answers:
    0
    Trophy Points:
    160
    #5
    yeah im seeing some confusion here also, what is the primary file you want loaded on the webserver "index.php" for example. Because if your webserver is set to display "index" by default followed by .htm or .html then any redirection will not work as you will simply be looping it and probably result in an error or crash.

    Please explain which file on domainname.com you want loaded instead of .htm and if it is index.php then just simply remove the .htm and that will solve your problem.
     
    chtdatweb, Jun 20, 2008 IP