Solved

Way to go to the starting page

Posted on 2014-03-02
14
28 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
 
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
How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

 
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Preface This is the third article about the EE Collaborative Login Project. A Better Website Login System (http://www.experts-exchange.com/A_2902.html) introduces the Login System and shows how to implement a login page. The EE Collaborative Logi…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
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 how to dynamically set the form action using jQuery.

758 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now