Free Web Hosting Forum
Go Back   Free Web Hosting Forum > Website Building > Web Programming
Reload this Page My website automatically does a redirect. Why??
Reply
 
Thread Tools Display Modes
(#1)
Old
Korchiv Korchiv is offline
Junior Member
Korchiv is on a distinguished road
 
Posts: 5
Join Date: Apr 2012
Default My website automatically does a redirect. Why?? - 04-14-2012, 11:53 AM

Hi people!
I had downloaded my site on 000webhost.com. It's my website http://korchiv-tour.site11.com , but when I open the link of my site I automatically go to this site http://hostinger.com.ua/ How it's possible!!?? I don't know this site, and I don't use header() in my index.php. What should I do?
Thank you for the answer!
Reply With Quote
(#2)
Old
ShocK's Avatar
ShocK ShocK is offline
Senior Member
ShocK is on a distinguished road
 
Posts: 5,365
Join Date: Jul 2011
Location: UK
Default 04-14-2012, 12:02 PM

Hi, this site http://korchiv-tour.site11.com takes me straight to 000webhosts error page. have you tried clearing your cache?
Reply With Quote
(#3)
Old
Korchiv Korchiv is offline
Junior Member
Korchiv is on a distinguished road
 
Posts: 5
Join Date: Apr 2012
Default 04-14-2012, 12:50 PM

Yes, I cleared the cache but result 0
p.s. on my home hosting it works well

Last edited by Korchiv; 04-14-2012 at 12:53 PM.
Reply With Quote
(#4)
Old
ShocK's Avatar
ShocK ShocK is offline
Senior Member
ShocK is on a distinguished road
 
Posts: 5,365
Join Date: Jul 2011
Location: UK
Default 04-14-2012, 01:04 PM

You cleared cache but still get redirected to that site? Not the error page? What's supposed to be on your site that works locally?
Reply With Quote
(#5)
Old
Korchiv Korchiv is offline
Junior Member
Korchiv is on a distinguished road
 
Posts: 5
Join Date: Apr 2012
Default 04-14-2012, 01:52 PM

Quote:
Originally Posted by ShocK View Post
You cleared cache but still get redirected to that site? Not the error page? What's supposed to be on your site that works locally?
yes, my site still get redirected to anothe site. It's little site about realestate, code of my index.php if it help code
Reply With Quote
(#6)
Old
d3iti's Avatar
d3iti d3iti is online now
Super Moderator
d3iti is on a distinguished road
 
Posts: 7,215
Join Date: Jul 2009
Location: Spain
Default 04-14-2012, 02:09 PM

Hi,
Hostinger is a website that is using 000webhost to redirect the server 404 error. This only happens with some countries, like Spain, Argentina and others.

This indicates that your website is showing an error 404 (page not found). You should check your website.

Edit
Are you sure that within your public_html folder there are folders service, user and templates?


Recuerda realizar copias de seguridad de tus sitios web. Si este mensaje te ayudó puedes pulsar sobre el botón karma

Last edited by d3iti; 04-14-2012 at 02:13 PM.
Reply With Quote
(#7)
Old
Korchiv Korchiv is offline
Junior Member
Korchiv is on a distinguished road
 
Posts: 5
Join Date: Apr 2012
Default 04-14-2012, 02:43 PM

Quote:
Originally Posted by d3iti View Post
Are you sure that within your public_html folder there are folders service, user and templates?
I'm sure. I created the same folder structure and files as well as on my home hosting. When I downloaded my site (2 days ago), it worked, but now it does not work. Maybe try delete this domain and create a new domain? Or choose another hosting...
Reply With Quote
(#8)
Old
d3iti's Avatar
d3iti d3iti is online now
Super Moderator
d3iti is on a distinguished road
 
Posts: 7,215
Join Date: Jul 2009
Location: Spain
Default 04-14-2012, 04:55 PM

Do you have any file called .htaccess in the public_html folder?

Check that there is no warning or error message in the CPanel of your account.

You could also try to rename index.php and upload an index.html file containing minimum to see if the problem is with your index.php file.


Recuerda realizar copias de seguridad de tus sitios web. Si este mensaje te ayudó puedes pulsar sobre el botón karma
Reply With Quote
(#9)
Old
Korchiv Korchiv is offline
Junior Member
Korchiv is on a distinguished road
 
Posts: 5
Join Date: Apr 2012
Default 04-15-2012, 07:56 AM

Hi!
Website is working!!!! I found an error in my sql-query
Thank you everyone for your attention!!!!
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com