Solved

Way to go to the starting page

Posted on 2014-03-02
14
39 Views
Last Modified: 2015-09-10
Hi,
I have to go to this
http://192.168.168.1/Start

to access the starting page of the site. How to make it simple, to also locate to the starting page of the site, once I've gone to this

http://192.168.168.1
0
Comment
Question by:HuaMinChen
  • 7
  • 7
14 Comments
 
LVL 14

Expert Comment

by:brendanmeyer
ID: 39898258
create an index.htm file in the root directory of the website with the following code in it
<html>
 <header>
  <meta http-equiv="refresh" content="0"; URL="http://192.168.168.1/Start">
 </header>
</html>

Open in new window


or or could use "/Start" instead of "http://192.168.168.1/Start"

this will redirect it to stating page
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 39898263
Thanks. I've put this index.htm file,
<html>
 <header>
  <meta http-equiv="refresh" content="0"; URL="http://192.168.168.1/Start">
 </header>
</html>

within the root directory. But nothing has been displayed, when I go to this

http://192.168.168.1
0
 
LVL 14

Expert Comment

by:brendanmeyer
ID: 39899130
is index.htm you default file type for the website, or is there a different extension?
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
LVL 10

Author Comment

by:HuaMinChen
ID: 39899372
How to set it as default file type? I am using .Net projects there. thanks
0
 
LVL 14

Accepted Solution

by:
brendanmeyer earned 150 total points
ID: 39899478
Are you using IIS?

for IIS7

Open IIS manager
go to the website in question
make sure you are in Features View
Double-Click; default documents
check that index.htm is there

if not, click Add and add it, move it to the top
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 39899486
Thanks.
Sorry, what to choose within the attached?
t671.png
0
 
LVL 14

Expert Comment

by:brendanmeyer
ID: 39900086
3rd item, Default  Document
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 39902305
I have that within the attached, but I still cannot go to

http://192.168.168.1

directly. thanks
t675.png
0
 
LVL 14

Expert Comment

by:brendanmeyer
ID: 39902371
what happens when you go to http://192.168.168.1 ?
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 39902381
I see there is error with empty page (see attached). Thanks
t81.png
0
 
LVL 14

Expert Comment

by:brendanmeyer
ID: 39902718
are you sure you put the index.html in the correct place, with that code in it?
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 39902721
Yes,

C:\inetpub\VS2012

is the place on which I deploy all the projects, and I have the file "index.htm" that is having

<html>
 <header>
  <meta http-equiv="refresh" content="0"; URL="http://192.168.168.1/Start">
 </header>
</html>

Open in new window

within the same folder.
0
 
LVL 14

Expert Comment

by:brendanmeyer
ID: 39904756
Sorry, I'm not sure then
0
 
LVL 10

Author Comment

by:HuaMinChen
ID: 39905187
Any other help?
0

Featured Post

MIM Survival Guide for Service Desk Managers

Major incidents can send mastered service desk processes into disorder. Systems and tools produce the data needed to resolve these incidents, but your challenge is getting that information to the right people fast. Check out the Survival Guide and begin bringing order to chaos.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction Knockoutjs (Knockout) is a JavaScript framework (Model View ViewModel or MVVM framework).   The main ideology behind Knockout is to control from JavaScript how a page looks whilst creating an engaging user experience in the least …
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Viewers will learn one way to get user input in Java. Introduce the Scanner object: Declare the variable that stores the user input: An example prompting the user for input: Methods you need to invoke in order to properly get  user input:
The viewer will learn the basics of jQuery including how to code hide show and toggles. Reference your jQuery libraries: (CODE) Include your new external js/jQuery file: (CODE) Write your first lines of code to setup your site for jQuery…

730 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question