I've learnt HTML and CSS from Codecademy the past two months and am sitting with 4 HTML-documents and 4 CSS-files right now ready to connect them to the Internet.
I've bought a domain, registered a webhotel and downloaded FileZilla for transferring the files. My problem is that instead of being directed to the website, I'm directed to a page that contains the headline "Index /" and the name of the folder which contains my files.
How do I fix this? I have a feeling that I have to do something with my homepage.html so that the domain directs me to that specific page.
if you sure domain connected to your webhost successfully,just upload your website to htdocs folder and rename your first page to index.html note : all the character should be lowercase
Well guys I solved the problem I encountered when accidentely "deleting" my files from FileZilla. Apparently my computer immediately downloaded the file folder when FileZilla deleted it so it was in "Downloaded Files" (don't know what the folder's called in English, I'm Swedish) all along.
Regarding my initial question I just want to thank you guys for helping me with the right answer! It's working correct now :)
Related
I was hoping you can help with this, i only have about a week ( 10-15h) of experience with front end web development. but i cant figure this out. im trying to find the answer online but cannot locate it.
I purchased my domain name with google, uploaded my html files as well as img files to hostgator. when i go to my site, instead of it going to my index html file it displays all of them. take a look at what i mean
how do i solve this ? or if you know a link to some reading materials kindly provide it so i can learn :)
You have to put all your public pages in the public_html folder. It's the main entry point or the root of your domain name. Also, rename the Index.html file to index.html.
As directed by this link I have created a custom page for Alfresco Share to use as navigation. The jar file contains images and once again as directed its in META-INF/images (this part was sort of unclear what all should be there).
Upon further research I found out that META-INF is auto generated with a manifest but I am unsure a manifest would help me.
Alright the issue I'm having is that I can't get the images out of the jar file for Alfresco Share.
I've tried this #import url("/share/res/images/Concur.ng");
I've tried hard coding links to where they say it should end up
<src="http/serverIP/share/components/image/alfresco-share-logo.ng">
I tried doing it the way they wanted it done
<i src="/res/images/ADPSelfPortal.png"> (or so I think).
<i src="share/res/images/ADPSelfPortal.png"> tried both.
I need some guidance here if I really wanted to I could just drop the file of images somewhere randomly on the server and point to their location but if they aren't logged in they shouldn't have access to these resources.
Sorry this is a mess I'm frustrated with this problem.
As it turns out the instructions were correct, the smallest typo in the name and syntax when creating the jar is extremely important for adding pages to alfresco. Although finding this information did prove difficult at the time. I mentioned in the comment above that the alfresco folder and the meta-inf folder have to be packaged in the same directory. This functionality is important so that alfresco finds all the proper supporting files. Any new files to add to the static folder must be put into the META-INF folder.
I have a index.html on my root folder of a subdomain
i.e. example.example.com/index.html
and then I made a second folder (which is located in the root folder)
example.example.com/folder/index.html
Is this good/recommended?
PS I'm pretty new to this so I have a follow up question. Does this have tie in to sitemaps in a big way and do people usually use an app to do the their "sitemapping" for them?
That's fine, but there should only be 1 per folder. The index.html is the file your webserver will serve up if another is not specified, so it is normal to have one in each directory.
As far as creating the sitemap, there are a lot of tools online that will create an XML sitemap for you and that is what people usually use.
Its ok to have multiple index.html files, may be some experts will say its not a recommended way. But in my point of view as long as you know that what's going on you can have tons of index.html .
I feel like a baby for having to do this but bear with me. I'm trying to set up webpage structures on my desktop in a folder. It's got an index.html and a couple folders of its own. One folder, "research", has its own index.html. I'm trying to link to this page from the higher index.html with but instead of taking me to research/index.html it takes me to a 'file-directory view' (for lack of knowing what to call it) of the directory research/
Clearly I could fix this by doing but that's annoying. Thoughts?
if you want to browse locally, you will have to include the file name. in other words:
<a href='research/index.html'>research</a>
The reason it works on remote servers is because replacement is done by the web server so if you want research/ to work then you will need a local web server such as wamp on windows or mamp on mac.
I'm having a big problem. I just revamped this apt. companies website and created the new website in a folder contained in the current website. I just finished and have put all of the old site files into and oldSite folder and brought all the new files out of the betaSite folder and into the public folder. I've tried changing the file persmissions but idk if they are sticking. Please help! I really have no clue how to fix this. Thanks!
asirentals.com
asirentals.com/index.shtml
From here: http://www.thesitewizard.com/apache/install-apache-2-windows.shtml
If you want "index.shtml" to be your default start page for your directories, ie, if you want Apache to load "index.shtml" when you type "localhost" or "localhost/directory/", you will need to search for a line in your "httpd.conf" that begins with "DirectoryIndex" and add index.shtml to the list of files there. For example, modify it as follows:
DirectoryIndex index.shtml index.html