|
-
Sep 26th, 2007, 12:11 PM
#1
Thread Starter
Fanatic Member
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?
-
Sep 27th, 2007, 01:28 AM
#2
PowerPoster
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
-
Sep 27th, 2007, 06:49 AM
#3
Thread Starter
Fanatic Member
Re: HTML virgin
I want to know how to make a domain point to my webspace which is somewhere else.
-
Sep 28th, 2007, 09:13 AM
#4
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?
-
Sep 28th, 2007, 09:56 AM
#5
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!!!
-
Sep 29th, 2007, 11:26 AM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|