Zymic Forums

Webmaster resources

Zymic IRC Server

Chat in real time at irc.zymic.com - Learn More

Welcome

Welcome to the Zymic webmaster forums. Our forums are here to provide people the free ability to discuss a range of websites related topics such as design, development coding and marketing.

In order to post you will need to register for a zymic account or if you already have one simply login by using the form on the left.

left Zymic Webmaster ForumsZymic Free Web HostingTutorials right
3 Pages V   1 2 3 >   Reply to this topic Start new topic
left right
Jacob
post Jul 18 2008, 09:46 AM
Post #1


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 5,140
Joined: 11-May 08
From: Australia
Member No.: 25,876



A cool trick you can entice your visitors with is custom error pages. When a page on your server is not found, your visitors will normally see their browser's default message such as "Page cannot be displayed." If you used a custom error page though, your visitors will see your page.

404 Error pages will ONLY work if you are using it on a domain. Sub-domains (something.your-site.com or http://www.your-site.com/something) will NOT work.

Here's How:
1. Create an HTML file for your 404 page. It could be anything you would like. It could be just simply 404 on a blank page.. or it could be your layout that includes the 404 words in it.. it's all up to you.
2. Save that file in any file format you want (html, php etc;) and upload it to your webserver. You can either keep it in your main or root directory, or you can create a subfolder. If you're only going to be using one (404) then I suggest just leaving it in your root folder.
3. Press start > Run > type "notepad" (in mac, just open a text editor) now you will take this code below, and put it into your text editor:
CODE
ErrorDocument 404 http://www.yoursite.com/404.htm

4. Remember, change the URL in the above code to the path of your 404 page on your server.
5. Now file > save as > htaccess.txt | save it somewhere that you will remember.
6. Upload the htaccess.txt folder to your webserver. (Make sure it's in the home or root directory)
7. Rename the file (will be different for different ftp clients) to .htaccess (make sure there is a "." before htaccess and NO ".txt" after htaccess)
8. And there you go! You should be good to go. There are also other error pages available such as internal error, forbidden etc; search google for these .. and then its just a matter of adding that code to your .htaccess file and making another error document (like your 404 page).

Any questions?

Jacob.
Go to the top of the page 
 
  + Quote Post
alandu
post Sep 1 2008, 01:14 PM
Post #2


Newbie
*

Group: Members
Posts: 25
Joined: 26-August 08
Member No.: 56,881



Nice tutorial, but I have a problem.

I know you said I can't create error pages with sub domains...

Then how come I found a website that can do it with sub domains:
http://kingsnetwork.myvnc.com/

So if you typed http://kingsnetwork.myvnc.com/blahblah8y4235234

It comes with an customised error page.

And I can't! =[

Please help.

Thanks.
Go to the top of the page 
 
  + Quote Post
Brandon
post Sep 1 2008, 01:38 PM
Post #3


Outrageously Uber Ninja
Group Icon

Group: Community Helper
Posts: 1,756
Joined: 11-November 07
From: HouseMaybe?
Member No.: 2,689



i was going todo a tutorial on this sad.gif
Go to the top of the page 
 
  + Quote Post
wozzym
post Sep 1 2008, 03:20 PM
Post #4


Outrageously Uber Ninja
Group Icon

Group: Community Helper
Posts: 2,198
Joined: 2-March 08
From: Australia
Member No.: 12,578



wow thats a lot simpler than I thought.
Go to the top of the page 
 
  + Quote Post
DJPazze
post Sep 1 2008, 04:31 PM
Post #5


Ninja
***

Group: Members
Posts: 296
Joined: 27-August 08
From: Washington D.C.
Member No.: 56,968



Thanks for the info! (tutorial)

Simple, simple, simple!
Go to the top of the page 
 
  + Quote Post
Yaveo
post Sep 2 2008, 07:21 PM
Post #6


Member
**

Group: Members
Posts: 35
Joined: 20-July 08
Member No.: 47,892



so, this wont work on zymic? or will it ??
Go to the top of the page 
 
  + Quote Post
swordz
post Sep 2 2008, 07:53 PM
Post #7


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 1,805
Joined: 10-July 08
From: UK
Member No.: 44,994



This will work on zymic servers.

swordz
Go to the top of the page 
 
  + Quote Post
Jacob
post Sep 3 2008, 09:21 AM
Post #8


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 5,140
Joined: 11-May 08
From: Australia
Member No.: 25,876



So instead of getting a generic 404, you can have it jazzed up and to the theme of your site!

Jacob.
Go to the top of the page 
 
  + Quote Post
Andrew-C
post Sep 7 2008, 06:10 PM
Post #9


Ninja
***

Group: Moderators
Posts: 199
Joined: 22-June 08
From: PA/TN
Member No.: 38,428



is there anyway that this could be setup so if say vndv was down i could host it on another server and it would say please go here.
Go to the top of the page 
 
  + Quote Post
wozzym
post Sep 7 2008, 06:55 PM
Post #10


Outrageously Uber Ninja
Group Icon

Group: Community Helper
Posts: 2,198
Joined: 2-March 08
From: Australia
Member No.: 12,578



if vndv is down your site can't be accessed. the page will just expire...so no.
Go to the top of the page 
 
  + Quote Post
Passion
post Sep 20 2008, 07:34 AM
Post #11


Newbie
*

Group: Members
Posts: 4
Joined: 10-September 08
Member No.: 59,233



Great Tutorial

Keep Providing more.. smile.gif
Go to the top of the page 
 
  + Quote Post
burgly
post Oct 4 2008, 09:00 PM
Post #12


Newbie
*

Group: Members
Posts: 1
Joined: 20-September 08
Member No.: 60,671



I know nothing of Html, Php, Mysql, and I'm new to Zymic, but I do know logic.
So, couldn't you add a seperate Htaccess File for your subdomain?
Go to the top of the page 
 
  + Quote Post
Sickness
post Oct 4 2008, 10:58 PM
Post #13


Ninja
***

Group: Members
Posts: 268
Joined: 22-September 07
From: québec, Canada
Member No.: 406



you can also create a page for "when the server is too busy" but it's a different number, and I don't remember which one it is.
Go to the top of the page 
 
  + Quote Post
swordz
post Oct 4 2008, 11:04 PM
Post #14


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 1,805
Joined: 10-July 08
From: UK
Member No.: 44,994



500.13. A full list is here. And there's far more than I thought there were...

swordz
Go to the top of the page 
 
  + Quote Post
caseymadaline
post Oct 8 2008, 02:28 AM
Post #15


Newbie
*

Group: Members
Posts: 1
Joined: 8-October 08
Member No.: 63,137



Nice tutorial. It looks pretty simple. I'll give it try.
Go to the top of the page 
 
  + Quote Post
estuartie
post Oct 8 2008, 09:32 AM
Post #16


Newbie
*

Group: Members
Posts: 1
Joined: 8-October 08
Member No.: 63,180



Hiya - great tutorial -I always wondered how it was done - so it's time to play around some more!!
Thanks
Stu

Does anyone have the code to do a small shoutbox that will fit into a sidebar just so people can leave comments on the site
cheers
Stu
Go to the top of the page 
 
  + Quote Post
byluiz
post Oct 8 2008, 03:35 PM
Post #17


Newbie
*

Group: Members
Posts: 1
Joined: 8-October 08
Member No.: 63,222



ty
Go to the top of the page 
 
  + Quote Post
IamShipon1988
post Oct 8 2008, 09:13 PM
Post #18


Outrageously Uber Ninja
*******

Group: Moderators
Posts: 1,562
Joined: 19-September 07
From: Rochester, NY
Member No.: 86



I never really had to create so many error pages. I just set my servers language to Chinese for fun. It was great.
Go to the top of the page 
 
  + Quote Post
tomming
post Oct 26 2008, 03:08 AM
Post #19


Newbie
*

Group: Members
Posts: 4
Joined: 24-October 08
Member No.: 65,944



You can also try htaccess editor (www.htaccesseditor.com/en.shtml)
easy..
Go to the top of the page 
 
  + Quote Post
MASTER MIST
post Nov 21 2008, 11:50 PM
Post #20


Newbie
*

Group: Members
Posts: 12
Joined: 4-October 08
Member No.: 62,707



i can't use mine for some reason this is ticking me off ~.~ i thought i could use this place for a page for me and my friends to have our favorate stuff
Go to the top of the page 
 
  + Quote Post
3 Pages V   1 2 3 >
 Reply to this topic Start new topic
left right
0 Members:
left right
 


Lo-Fi Version Time is now: 20th May 2013 - 04:57 AM