Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Website doesn't show in browser


Chris34

Recommended Posts

Hi all,

 

When I type in the browser www.mywebsite.co.uk/catalog then my website shows up. However when I type www.mywebsite.co.uk it just shows a page saying 'You see this page because you have set up your Web server for serving a new site, but have not uploaded the site content yet.' My question is how do I make it go to my website?

 

 

Cheers,

 

 

 

 

Chris.

Link to comment
Share on other sites

for php use this code

<?php

header( 'Location: http://www.yoursite.com/catalog/' ) ;

?>

 

Create a file called index.php with notepad or similar, add the above code (changing the Yoursite bit)

UPload to the root directory

 

It will now redirect to the catalog folder

 

Nic

Sometimes you're the dog and sometimes the lamp post

[/url]

My Contributions

Link to comment
Share on other sites

Hi nic, thank you for your reply.

 

I just did as you said but the server would allow my to copy the file over, it came up with 'Unable to upload index.php to /index.php: filemng failed: cp: cannot create regular file `/var/www/vhosts/mysite.co.uk/index.php': Permission denied

filemng: Error occured during /bin/cp command.

 

 

Any idea's?

 

 

 

 

Chris.

Link to comment
Share on other sites

Hi nic,

 

Thanks for that, I've got it working now, I was trying to install it in the absolute root of the domain and it wouldn't let me so I tried it in the httpdocs folder and it worked.

 

 

Thank you very much for your help,

 

 

 

 

Chris.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...