Solved

Way to go to the starting page

Posted on 2014-03-02
14
33 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
Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

 
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

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
Greetings C# program 17 105
Search an image for an image 3 29
FTP file download using c# 3 22
Winform Module - What is the ASP.Net equiv 2 19
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 …
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
The viewer will learn how to create and use a small PHP class to apply a watermark to an image. This video shows the viewer the setup for the PHP watermark as well as important coding language. Continue to Part 2 to learn the core code used in creat…
The viewer will learn the benefit of using external CSS files and the relationship between class and ID selectors. Create your external css file by saving it as style.css then set up your style tags: (CODE) Reference the nav tag and set your prop…

776 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