• Welcome to the Yamaha FZ6 Forums. Member registration disables ads and allows you to post and share. Register Here.

Wondering if someone has web development skills

BranNwebster

The UNO Master
Elite Member
Joined
Apr 30, 2008
Messages
740
Reaction score
9
Points
0
Location
Webster Texas
Visit site
So I have a new web page. It's nothing really but a place to goof around on and to have a my own place to put my resume and what not. But mostly it's just to learn on. So I have my home page in my public_html folder called index.html. Now I want to add a second page and for the life of me I can't figure it out. I called it page2 for the sake of being easy. I created a new folder call page2 and put a page2.html but that doesn't work. I know I'm missing something and google in this instance is worthless. I'm hoping someone has done this before and could fill me in.

Thanks.
 
The url will be:

"http://www.yoursite.com/page2/page2.htm"

not forgetting to replace www.yoursite.com with the domain name of your server.

It may also be that the permissions aren't set correctly for your "server daemon" to read the file, but that's another story.
 
Last edited:
The url will be:

"http://www.yoursite.com/page2/page2.htm"

not forgetting to replace www.yoursite.com with the domain name of your server.

It may also be that the permissions aren't set correctly for your "server daemon" to read the file, but that's another story.

What he said. Also, if you don't want to worry yourself with permissions and such, you can drop page2.htm in the same directory that has index.htm

So the URL will be "http://www.yoursite.com/page2.htm"
 
Thanks.

I just place it in the public_folder. I wouldn't mind having it in a sub folder for neatness but that will come later.

Thanks again.
 
If you want to get real technical you can create a .htaccess file and make any page the default index, even with different extensions.
You can even make custom 404 and other error pages.

It's been years but I've made dozens of websites and I primarily programmed in PHP, so my index would be whatever.php
I used to be able to code HTML entirely in notepad with no help.
 
I found out what I was really doing wrong. The servers are linux and I was using a capital letter in my folder name. I suppose that's a no no.
 
Back
Top