Solved

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

Posted on 2016-07-27
18
111 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
  • 9
  • 9
18 Comments
 
LVL 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
 

Author Comment

by:sco505
Comment Utility
Tried the refresh, but still the original page shows.
0
 

Author Comment

by:sco505
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
Comment Utility
Copied ftp to htdocs, uploaded, no change.

Very frustrating isn't it?
0
 
LVL 82

Expert Comment

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

Author Comment

by:sco505
Comment Utility
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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
LVL 82

Expert Comment

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

Author Comment

by:sco505
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
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
Comment Utility
Of course when people go to hiretowers.co.nz they won't see the changes
0
 
LVL 82

Accepted Solution

by:
Dave Baldwin earned 500 total points
Comment Utility
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
Comment Utility
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 82

Expert Comment

by:Dave Baldwin
Comment Utility
You're welcome, glad to help.
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
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…
This video discusses moving either the default database or any database to a new volume.
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

728 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

12 Experts available now in Live!

Get 1:1 Help Now