Making web page

Status
Not open for further replies.

bobjam1

New Member
Messages
8
Reaction score
0
Points
0
Basic question here.

Have uploaded two images (for website use) and HTML code for website into my File Manager module.

Now I can't figure out how to make an actual web page with them. What do I do with these files to get them into a web page?
 

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
In your webpage you will need to embed the images using the <img tag. http://w3schools.com has many very excellent tutorials on every web programming language available to you. I highly recommend browsing through it. For the time being, here's a quick breakdown:

Code:
<img src="image.jpg" alt="an image" />

<img is start image tag.
src is the image location. this is relative to the location of the page. for example, if you page is /home/user/public_html/index.html, and your image is /home/user/public_html/image.jpg, your image src="image.jpg" there are more tricks and tips on the website. The second required attribute is the alt, which is an alternate text to display if your image cannot be loaded. And always, close your img tags with />
 

bobjam1

New Member
Messages
8
Reaction score
0
Points
0
Hey garrettroyce,

Thanks very much for the answer.

While the image issue was in fact part of my question (and your tip was useful), the thrust of my query was actually even before that.

So, let me rephrase and pose the question in a more basic form:

Suppose I were a monkey (and sometimes I think I am) and didn't know what to do after I uploaded the files. What do I do next? The files are just sitting there in File Manager . . . now I want to make a web page . . . what do I do next?

Sorry for being so dense . . . it seems to be a natural condition these days.

And thanks again.
 

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
No problem.

I would read this tutorial: http://w3schools.com/html/default.asp

What you need to do is create a file called "index.html" on your computer. You cannot use a word processor for this (they add extra stuff that messes it up). use notepad instead. A basic html file looks like this:
Code:
<html>
<head></head>
<body></body>
</html>

There's quite a lot more that you will have to do to the page to make it do anything, but this is the basic outline. <html> means that the page is a html document and everything between the start tag <html> and the closing tag </htm> will be interpreted as html. Most tutorials have a "hello world" example, so here's one:

Code:
<html>
<head></head>
<body>
hello world!
</body>
</html>

If you upload this to the public_html folder in cpanel and go to yoursite.x10hosting.com you will see a page that has nothing on it except "hello world!"

Anything you want displayed on the page goes in the <body> section. the <head> is for things that aren't displayed but influence the page.

There's a lot more to it, and the people at http://w3schools.com say it better than I do, but that's a start for you :)
 
Last edited:

bobjam1

New Member
Messages
8
Reaction score
0
Points
0
OK . . . I have the HTML written, but I wrote it in "Evrsoft First Page", and uploaded that .html file. So if I'm understanding you correctly, I need to copy over that HTML code from Evrsoft into Notepad, name it index.html, and then upload that file into my public_html folder.

(Forget the image tags . . . I may have mislead you there . . . I'm talking about the entire .html file and the entire code, which also includes the image tags . . . though they point to images on my local machine, so I'll have to edit those tags to point to the img source on File Manager as you showed).

Then if I go to my domain URL, it will appear?
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
If you have something to write the code in already, such as eversoft, you are OK. Just upload that file. Just don't try to write code in Microsoft Office or anything like that.

index.html is a special file. If you type yoursite.x10hosting.com it will be converted automatically to yoursite.x10hosting.com/index.html so the page will show up without having to type the whole address.
 

zen-r

Active Member
Messages
1,937
Reaction score
3
Points
38
Hi. Have you taken a look at the new SiteBuilder facility here on x10?

It's quite a good way for beginners to get started.


Please click my Reputation button
reputation.gif
(at the corner of this post) & make me :) -it costs you nothing!

If I've traded services/credits with you, please remember to leave iTrader Feedback. Thanks.​
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
That's true. the sitebuilder will give you a site to use while you're learning the rest of the stuff.
 

bobjam1

New Member
Messages
8
Reaction score
0
Points
0
Wait a minute . . . wait a minute . . .

Geezzzz . . . I'm really being dense here.

First off, thanks for all your patience . . . I know I'm really trying your guys' patience . . . hopefully, the light bulb will go on one of these days, and I'll slap my forehead and say "Doh . . . ".

Right now though, I'm really getting frustrated . . . not your fault, mine.

OK . . . let me cut to the chase.

1. I tried the SiteBuilder.

The very first step, as I'm sure you know, is a log in.

I got a screen asking for not only my domain name (which, BTW, is a dot net I got by registering with GoDaddy . . . but didn't get a GoDaddy hosting account), but also an "FTP username" and an "FTP Password".

Since I didn't have either (or didn't know what they were), I watched the Video Tutorial for FTP accounts.

So I made an FTP account of the form "FTP Username": ZZZZZZ@XXXXXXXXXX.net (I'm using the "Z's" and "X's" to disguise the actual names here in this post), with of course a password.

Then I went back to the Site Builder, and entered the info from that new FTP account I just created.

BRICK WALL: I got a message saying "Domain XXXXXXXXXX.net doesn't point to ZZZZZZZ@XXXXXXXXXX.net account.

Since I didn't know what to do to correct that error, I quit the Site Builder stuff.

And I tried it several times with the same result (which accounted for a lot of the frustration).​

2. Tried garrettroyce instructions

I looked again at the directions garrettroyce kindly provided. But I'm having trouble understanding the part that says: "If you type yoursite.x10hosting.com it will be converted automatically to yoursite.x10hosting.com/index.html" Type where . . . the address bar in my browser? And since I have a TLD I'm not using the X10 sub-domain, and it's no longer listed on my "Account Information" panel (since I changed it to my TLD, XXXXXXXXXX.net). Should I change it back? If so, how . . . the same way I did it to change it to my TLD?

I'm also afraid to replace the index.html file with one of my own making (in Evrsoft), since garrettroyce said "index.html is a special file".

All I want to do is get started with a preliminary web page . . . certainly nothing fancy yet. Have uploaded the Evrsoft .html file into File Manager (public_html), but I'm reluctant to rename it index.html (is currently named "my web site.html") for fear that it will overwrite the existing index.html and screw me up forever.

My sense is that I can replace the existing index.html by renaming "my web page. html" to index.html, but I don't want to do it 'till you guys say it's OK.

BTW, the FTP account I made is not listed in accounts. There is a file by that unique name I made listed in the "public_html" folder, but not the "public_ftp" folder. I gave the FTP account a password much more than just the usual "anon" for FTP access, but should I try to delete the file? I just don't like FTP stuff hanging around unless I absolutely have to have it. Seems like a security risk, though at this point when I can't even get a web page up with training wheels on, there probably isn't a whole lot at risk.

TIA
 
Messages
11
Reaction score
0
Points
0
Hi. Have you taken a look at the new SiteBuilder facility here on x10?

It's quite a good way for beginners to get started.
You might also wanna take a look at some HTML editors (The free ones are here). Some of these can be quite good.
Please click my Reputation button
reputation.gif
(at the corner of this post) & make me :) -it costs you nothing!

If I've traded services/credits with you, please remember to leave iTrader Feedback. Thanks.​
Umm....Zerm.....Shouldn't the above quoted text belong in YOUR SIGNATURE (You know - As in the USER CP > EDIT SIGNATURE area)? It looks bad when put at the end of the post like that. JFYI....

Hope this helps Bobjam1....

Cheers :D
 

bobjam1

New Member
Messages
8
Reaction score
0
Points
0
Hey Left Wing Conservative (interesting screen name, BTW),

I'm up to my shorts in HTML editors right now.

And HTML is not my problem here (please don't take my tone as abrasive . . . I may still be miscommunicating what my problem is).

My problem very simply is . . . I don't know how to get a website up on X10.

I've written the HTML and uploaded the files, but from there I don't know what to do.

Thanks anyway . . . when I get back to focusing on code, I'll probably have a look at some of the stuff you linked to.

But right now, all I want to do is get something up, even if it's just a nonsense template.

Right now my domain still shows as "parked" by GoDaddy.

Could that be the problem? Do I need to go back and do something with GoDaddy?
 

zen-r

Active Member
Messages
1,937
Reaction score
3
Points
38
Umm....Zerm.....Shouldn't the above quoted text belong in YOUR SIGNATURE (You know - As in the USER CP > EDIT SIGNATURE area)? It looks bad when put at the end of the post like that. JFYI...

It won't fit in with the rest of my sig - only a limited number of characters are allowed in there. Anyway, I have more control over when it does & does not appear, this way (for example, it's not in this post).

I'm sorry you don't like it there :biggrin:
 
Last edited:

garrettroyce

Community Support
Community Support
Messages
5,611
Reaction score
249
Points
63
Hey Left Wing Conservative (interesting screen name, BTW),

I'm up to my shorts in HTML editors right now.

And HTML is not my problem here (please don't take my tone as abrasive . . . I may still be miscommunicating what my problem is).

My problem very simply is . . . I don't know how to get a website up on X10.

I've written the HTML and uploaded the files, but from there I don't know what to do.

Thanks anyway . . . when I get back to focusing on code, I'll probably have a look at some of the stuff you linked to.

But right now, all I want to do is get something up, even if it's just a nonsense template.

Right now my domain still shows as "parked" by GoDaddy.

Could that be the problem? Do I need to go back and do something with GoDaddy?

index.html is special only because it shows up automatically. You don't have to have it. A lot of sites do not, but it makes sense to have it in most cases.

First things first, go to http://x10hosting.com/panel after you login using your forum login info, it will say at the bottom of the page "Your website" This may or may not be what your GoDaddy domain is, but we can fix that. Whatever it is right now, let's leave it alone. Click on that link for your website and see what comes up, probably a site that says "Welcome to X10!" and some ads. This is what your index.html looks like before we change it.

Go back to http://x10hosting.com/panel Now click the link below the one you did before, this one is your CPanel. Login using your cpanel information. Go to file manager. Go to the folder /home/username/public_html. delete any file named "index" (it doesn't have to be .html, the name is the important part). Now, upload your index.html file. you can type in, or use the link in your http://x10hosting.com/panel to go to your site now and see the change. It didn't change, probably. Clear your browser's cache, then refresh the page (sometimes just refreshing is enough). Your new site should appear (or a blank page if your page has some serious error or no content in it)

Hope that helps :p
 

bobjam1

New Member
Messages
8
Reaction score
0
Points
0
Hey garrettroyce,

For some reason the email notification of your latest post didn't go through, so I apologize for being so tardy in replying. I just thought this thread had died a quiet death and I was on my own.

Happened to be poking around here, and saw your latest reply.

Tried your solution/instructions and still no joy. Am going to try them again, with some ideas that I have also, and will report back in detail.

Once I get over this hurdle, I can attend to the issues of PHP, SEO business, site design, and such. For now I'm just coding a simple line or two just to get my website up and running.

Thanks for the continued patience . . . and keeping my fingers crossed this time. Stay tuned . . .
 

charvel

New Member
Messages
8
Reaction score
0
Points
0
You should be able to view your web page locally to make sure all is well before you upload your files. Right click your index file and go to open with and select your browser.
 
Status
Not open for further replies.
Top