Build a wap site on Godaddy
I thought the trend of Google Adsense: Wap Site,Google Custome Search and Google Site. I would like to share my experience to build a wap site on the webhosting of Godaddy with you.
Based on the Deluxe Hosting(Linux) of Godaddy.
1.Build a subdomain http://wap.goblocksite.com which mapped on the directory goblocksite.com/wap for the wap site.
2.Write a file named .htaccess by text editor(notebook),you can copy the content below and save as .htaccess. Then upload the file to the directory goblocksite.com/wap.
DirectoryIndex index.wml
addtype text/vnd.wap.wml wml
addtype application/vnd.wap.wmlc wmlc
addtype text/vnd.wap.wmlscript wmls
addtype application/vnd.wap.wmlscriptc wmlsc
addtype image/vnd.wap.wbmp wbmp
AddType application/vnd.wap.xhtml+xml .xhtml
If you don’t know what is .htaccess, please read below:
What is .htaccess?
.htaccess files let customize the way your site or a specific directory on your site behaves. For example, if you place an .htaccess file in your root directory, it will affect your entire site (www.coolexample.com). If you place it in a /content directory, it will only affect that directory (www.coolexample.com/content).
.htaccess works on our Linux servers.
3. Now you need to make the files (type: .wml) . Wml was used on a wap site, same as HTML on a web site. Down the wml editor waptor23.exe and use the editor to make the wml files.
4.Upload the wml files to goblocksite.com/wap. Below is a very simple sample index.wml
<?xml version=”1.0″?>
<!– created by WAPtor (http://www.waptop.net/) –>
<!DOCTYPE wml PUBLIC “-//WAPFORUM//DTD WML 1.1//EN” “http://www.wapforum.org/DTD/wml_1.1.xml”> <wml>
<!– THIS IS THE FIRST CARD IN THE DECK –>
<card id=”MainCard” title=”This is a first card”>
<p align=”center”> hell world <br/>
</card>
</wml>
5.Done. Now it is your turn to try.

Leave a Reply