Kyle Perkins 0 Report post Posted March 7, 2005 Hello, I was wondering if there is a way to simply create a site using pure html code. I use Macromedia Dreamweaver MX, and have a site made already, but I can't figure out how to get the html code onto the web using cpanel. Also, would I have to upload the pictures for the site?-Kyle Share this post Link to post Share on other sites
vujsa 0 Report post Posted March 7, 2005 Hello, I was wondering if there is a way to simply create a site using pure html code. I use Macromedia Dreamweaver MX, and have a site made already, but I can't figure out how to get the html code onto the web using cpanel. Also, would I have to upload the pictures for the site? -Kyle <{POST_SNAPBACK}> I would suggest that you arrange all of your html, jpg, gif, etc. files on your hard drive to mimmick how you want them arranged on the server. Then you will need only to upload the single directory to public_html. This will save you a lot of work and prevent error. When you design your site, use relative links for everything that will be on the server, that way, when to upload, you won't have fix all of the links. vujsa Share this post Link to post Share on other sites
vujsa 0 Report post Posted March 7, 2005 I just remebered.Dreamweaver should have a publish option which will let you enter your ftp information and will automaticlly.I can't say for sure because I've never used Dreamweaver but most of the programs I've used have that option.This will allow you to upload the graphics at the same time as the html file. Additionally, it will fix all of your links to work correctlly inside your website.Happy coding, vujsa Share this post Link to post Share on other sites
jcguy 0 Report post Posted March 7, 2005 If you're afraid of screwing up all your links to your images and files, it's better if you publish to your Xisto account with the built-in ftp or publish function in your Dreamweaver or Frontpage. Moreover, Frontpage's built-in upload function can keep track of all the files between your remote server and local computer and delete the files on your remote server if you deleted the files on your local computer. It really saves u time and space. Share this post Link to post Share on other sites
Kyle Perkins 0 Report post Posted March 7, 2005 Thanks for the suggestions.I uploaded them all by hand into the Public_HTML folder, putting images in Public_HTML/Images. Is there anything else I have to do? Sorry for all these questions, but I'm coming from free web hosting sites like Freewebs and Angelfire...so I'm a little overwhelmed.-Kyle Share this post Link to post Share on other sites
vujsa 0 Report post Posted March 7, 2005 Well, if it works, then you've got it else let us know. The only problem that you could have is broken links to your images. If that is the case, you'll need to manually edit the html to point to your images correct location. Basically, point here: http://forums.xisto.com/no_longer_exists/404.png or: /image.gif Not here: file:///C:/My%20Documents/image.gif Good luck vujsa Share this post Link to post Share on other sites
Kyle Perkins 0 Report post Posted March 7, 2005 Yeah, I thought I might have to change the code that points to where the image is. But, nothing worked at all. I tried the site, and still shows the page that says "If you are seeing this message then it means that your site is up and your account is functioning properly."Any thoughts?-Kyle Share this post Link to post Share on other sites
vujsa 0 Report post Posted March 7, 2005 Yeah, I thought I might have to change the code that points to where the image is. But, nothing worked at all. I tried the site, and still shows the page that says "If you are seeing this message then it means that your site is up and your account is functioning properly." Any thoughts? -Kyle <{POST_SNAPBACK}> Hey, no problem here. you'll need to change the name of you main page to index.htm or index.html. This will be the page that automatically opens when you type http://forums.xisto.com/no_longer_exists/ Additionally, you can always point directly to the file: http://forums.xisto.com/no_longer_exists/index.html hope this helps, vujsa Share this post Link to post Share on other sites
Kyle Perkins 0 Report post Posted March 9, 2005 Alright, I've got the site up, but I still can't get the images to work. I've tried editing the code to say the images are at http://forums.xisto.com/no_longer_exists/, Ive tried http://forums.xisto.com/no_longer_exists/, and I've tried just /public_html/images/imagename.html. None of the above have worked. Any ideas?Thanks,-Kyle Share this post Link to post Share on other sites
hihihihi88 0 Report post Posted March 9, 2005 Dreamweaver is very easy to use , vujsa u are right Dreamweaver should have a publish option but I always using cuteftp .Kyle Perkins , I think you are the beginner of web . The image ... it is no need to change the code (chmod) it is auto detect by the publish programme . If u really upload the xxx.html onto ./public_html/ , I think it is no problem , I want to ask have u change the chmod of "imagename.html" ? and what programme you upload the web ?give you a advise , cpanel file manager is easy to use , you can try it . Share this post Link to post Share on other sites
moonwitch1405241479 0 Report post Posted March 9, 2005 (edited) Alright, I've got the site up, but I still can't get the images to work. I've tried editing the code to say the images are at http://forums.xisto.com/no_longer_exists/, Ive tried http://forums.xisto.com/no_longer_exists/, and I've tried just /public_html/images/imagename.html. None of the above have worked. Any ideas? Thanks, -Kyle <{POST_SNAPBACK}> The graphics issueWell, what your site shows is already in the folder /public_html/ so when you give the source of the image as <img src="/public_html/images/mainbanner.jpg"> It will make the computer think the image is in public_html/public_html/images/ See the difference, the actual graphic is in public_html/images/ You're best off using <img src="images/mainbanner.jpg"> The forthslash BEFORE images should not be there, because that tells the computer to go look in the folder ABOVE the one you're currently in (ok I am not explaining this very clearly - sorry - I am trying LOL) Basically, what your site displays is the content of the folder "public_html" (without quotes), so when you want to link things (be that pages or images) you don't have to include that folder or the entire sitename. It's called relative linking, it makes it easier to relocate files. What you need to remember is of ALL the folders you find on your space on Xisto.com, only "public_html" contents (the files WITHOUT a . before them) will be shown when someone surfs to your site. So when you go to http://forums.xisto.com/no_longer_exists/ you are already in "public_html" which then makes the need to specify that folder when linking unnecessary. The non working links Kyle, I also noticed your links. For example "Information" links to "http://forums.xisto.com/no_longer_exists/; This file doesn't exist, well, I am sure it does exist, the link is wrong. The link should be (in code of course) <a href="information.html">Information</a> Assuming that you didn't place that file in the sub directory of "public_html" of course. I hope this explained it at least somewhat It's the explaining part that is hard LOL If you have any other questions, feel free to post them... And of course, someone will probably do a better job in answering you than I can... Editted, because I learned that there is a code to highlight HTML in UBBC (thank you spacewaste ) Edited March 9, 2005 by moonwitch (see edit history) Share this post Link to post Share on other sites
Kyle Perkins 0 Report post Posted March 9, 2005 Thank you!Don't be so modest, that was the best explanation I've heard yet. Why, it almost sounds like you're a moderator or something... :DAnyway, my images work now, and I am grateful to you. Also, the links that don't work don't work because I haven't created those sites yet. Only the "Home" and "Forums" links should work. I just used "information_database.html" or something like it as a marker so I wouldn't get confused. Eventually, I'll get those sites made, and those links will work.Once again, thank you, and if I ever need help again I know who to ask! -Kyle Share this post Link to post Share on other sites