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?
Printable View
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?
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.
I want to know how to make a domain point to my webspace which is somewhere else.
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?
Are you talking about Auto-redirect??
Add a META tag in the HEAD section of your blank index.html file.
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!!!HTML Code:<html>
<head>
<meta http-equiv="refresh" content="1;url=http://myspaceurl.com" />
</head>
</html>
Hope it helps you!!!
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.