I can't access my static only website hosted in app engine

42 views
Skip to first unread message

Naheez Thawfeeg

unread,
Nov 8, 2017, 8:52:00 AM11/8/17
to Google App Engine

Dear all...

I am receiving the following error after I upload my site to App Engine...

Error: Not Found

The requested URL / was not found on this server.


It's only a static website containing only HTML files...


I was once able to view the site correctly...My website is www.guestworm.com and it has only HTML files and some photos...


Can anyone help me?

George (Cloud Platform Support)

unread,
Nov 8, 2017, 11:02:41 AM11/8/17
to Google App Engine
Hello Naheez,

Your logs contain repeated warnings similar to: „logMessage:  'Static file referenced by handler not found: www/index.html' ", and "resource:  "/"  ". Is your app.yaml configured correctly? The tutorial you followed describes the related step as: 

"Edit the app.yaml file and add the following code to the file:

runtime: python27
api_version: 1
threadsafe: true

handlers:
- url: /
  static_files: www/index.html
  upload: www/index.html

- url: /(.*)
  static_files: www/\1
  upload: www/(.*)
"

If you want us to look at your code and try to reproduce the issue, you are encouraged to send us the needed information by way of a private email message. You can send private email by using the "reply" button's drop-down menu, at the top right of the editing window. 

Reply all
Reply to author
Forward
0 new messages