Results 1 to 6 of 6

Thread: HTML virgin

  1. #1

    Thread Starter
    Fanatic Member Bonker Gudd's Avatar
    Join Date
    Mar 2000
    Location
    Saturn
    Posts
    748

    Red face HTML virgin

    Hi

    I have a domain with a blank index.html in it.
    What do I put in index.html to point to my webspace which is somewhere else?

  2. #2
    PowerPoster eranga262154's Avatar
    Join Date
    Jun 2006
    Posts
    2,201

    Re: HTML virgin

    What you are asking, I'm not clear.

    You want to know what should be include on the index.html. If so, you can put anything. Normally it is the home page, or the main page of a web site. Depend on the content of a site, home page content can be vary. It is up to the owner or the person who maintain the site.
    “victory breeds hatred, the defeated live in pain; happily the peaceful live giving up victory and defeat” - Gautama Buddha

  3. #3

    Thread Starter
    Fanatic Member Bonker Gudd's Avatar
    Join Date
    Mar 2000
    Location
    Saturn
    Posts
    748

    Re: HTML virgin

    I want to know how to make a domain point to my webspace which is somewhere else.

  4. #4
    Frenzied Member DeadEyes's Avatar
    Join Date
    Jul 2002
    Posts
    1,196

    Re: HTML virgin

    So basically you have two urls one your website which maybe has an ugly url that isn't easy to remember and the other is your domain name which is easy to remember.

    I think this is called domain name forwarding and you can set this up with whoever gave you the domain name. Do you have an account you can log into?

  5. #5
    Smitten by reality Harsh Gupta's Avatar
    Join Date
    Feb 2005
    Posts
    2,938

    Re: HTML virgin

    Are you talking about Auto-redirect??

    Add a META tag in the HEAD section of your blank index.html file.

    HTML Code:
    <html>
       <head>
             <meta http-equiv="refresh" content="1;url=http://myspaceurl.com" />
       </head>
    </html>
    The only problem user will face, if s/he tries to use the BACK button of browser, they could not because they will eventually be redirected back to your webspace!!!

    Hope it helps you!!!
    Show Appreciation. Rate Posts.

  6. #6
    VB6, XHTML & CSS hobbyist Merri's Avatar
    Join Date
    Oct 2002
    Location
    Finland
    Posts
    6,654

    Re: HTML virgin

    If the server is Apache, you can use .htaccess to create a redirect. This is far better solution than creating a redirect into a HTML page.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width