Solved

404 Not found. The resource requested could not be found on this server!

Posted on 2016-07-27
18
464 Views
Last Modified: 2016-08-01
Dreamweaver CS6, (DW).
Assisting a friend in editing a website.
Downloaded website to mac using DW, edited a page, saved it and put in on the server.  It's there, I've checked.
But when I go into the website using firefox, google or safari I get the error message.
Did a google and it comes up with changing Dispatcher.  Couldn't find any reference to that anywhere
0
Comment
Question by:sco505
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 9
  • 9
18 Comments
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41732308
Two things.  Some ftp servers do not automatically set permission to allow the file to viewed.  Set permissions to '644' for normal HTML files.  And Linux/Apache web servers are case sensitive.  If you change the case of even one letter, the file name is considered a different file.
0
 

Author Comment

by:sco505
ID: 41733842
Sorry it's pointed out that original question was not entirely correct.

What I did was change a page, saved with a different name, uploaded it and that's when I get the error msg.

Also after the changes, saved the file, no changes to name, viewed it in DW to make sure it was showing changes, which it did.  Uploaded it, but when viewed on website, the original page shows without changes.

When I open the page in DW from Remote Server, it shows the changes.  Somehow the original page is still there somewhere.  Is it cached?

I have no idea
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41733854
Browsers cache almost everything which can make it difficult to see updates.  In Firefox, press Ctl-F5 to force a refresh from the server.  That will get a new copy of the main file.  It doesn't always get new copies of JavaScript and CSS files.
0
[Webinar] Learn How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

 

Author Comment

by:sco505
ID: 41733876
Tried the refresh, but still the original page shows.
0
 

Author Comment

by:sco505
ID: 41733898
Also I've noticed that the site has a unusual directory structure.  Unlike others I've worked on where the root directory has the html pages listed below it, this one has a structure as per the attached.

The html pages are in the www/htdocs directory

I wonder if this was a wordpress site.
Directory-Struct.jpg
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41733969
That's not related to Wordpress.  Wordpress will use whatever structure you have.  I see at the top that you're on a Mac Mini.  

I also see an 'ftp' directory.  Did you upload the file to that directory?  Maybe it needs to be moved to the 'htdocs' directory?
0
 

Author Comment

by:sco505
ID: 41734005
Copied ftp to htdocs, uploaded, no change.

Very frustrating isn't it?
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41734016
It's not a problem that I have ever had.  I'm thinking we're missing something.
0
 

Author Comment

by:sco505
ID: 41735229
I've found something.

If I type in the website IP address in the address line in firefox the home page appears.

Click on the page I've changed and it's there with all the changes.

Hope this helps in some way
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41735240
That says to me that everything is working fine.  How were you checking it before?
0
 

Author Comment

by:sco505
ID: 41735262
The ip address is 205.212.176.7 & the site is hiretowers.co.nz.

Using hiretowers.co.nz & then clicking on scissor lifts it shows under battery a 12 metre scissor
Using the ip & then clicking on scissor lifts the  12 metre scissor has gone.  That's 1 of the changes.
Somewhere the changed page gets to the ip but not the site.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41735272
The IP for hiretowers.co.nz is 202.124.241.203 when I look it up, not 205.212.176.7 .
0
 

Author Comment

by:sco505
ID: 41735284
I tried that ip and got the 404 error.  The ip 205 etc is the ftp server address where DW uploads to.

I've tried using ftp.hiretowers.co.nz as the ftp site but doesn't like it.  Get the password/login is incorrect.
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41735296
The 404 error is likely because they are using 'name based' hosting which means that IP address serves more than one web site and you can only get there by name, not by IP address.  That is fairly common, saves on IP addresses.  The FTP address does Not have to be the same as the web site.  All those are management details for the hosting company to make work.
0
 

Author Comment

by:sco505
ID: 41735310
Of course when people go to hiretowers.co.nz they won't see the changes
0
 
LVL 83

Accepted Solution

by:
Dave Baldwin earned 500 total points
ID: 41735320
Then you need to contact the hosting company and get the correct FTP access for the actual web site.
0
 

Author Closing Comment

by:sco505
ID: 41738323
You were right.  Appears the login, IP, everything I was given was 2 years old.

Contacted the host and got the updated details and everything works 100%

Thanks for everything
0
 
LVL 83

Expert Comment

by:Dave Baldwin
ID: 41738343
You're welcome, glad to help.
0

Featured Post

Enroll in June's Course of the Month

June’s Course of the Month is now available! Experts Exchange’s Premium Members, Team Accounts, and Qualified Experts have access to a complimentary course each month as part of their membership—an extra way to sharpen your skills and increase training.

Question has a verified solution.

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

I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
This article is very specific and is only intended to help if you are installing Dreamweaver 8 in a Windows 7 environment with Office 2007 installed.   I'm not sure why Microsoft tends to release OS' that should not be released but they do.  Windows…
There's a multitude of different network monitoring solutions out there, and you're probably wondering what makes NetCrunch so special. It's completely agentless, but does let you create an agent, if you desire. It offers powerful scalability …
In this video we outline the Physical Segments view of NetCrunch network monitor. By following this brief how-to video, you will be able to learn how NetCrunch visualizes your network, how granular is the information collected, as well as where to f…

718 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