I am using hostinger to host my local website. In hostinger, a file must be names index to be registered as the 'home' and will be what is initially shown. At the moment, I am running my website through a local host, with an app.py. I have boostrap, and menu and layout files which are applied throughout the website, meaning I can not simply run home.html for the website. I have uploaded this git repo to hostinger, https://github.com/vishwaa-atomic/Conrad-1ptest.git, and it is deployed well. But nothing is displayed due to a lack of an index file. To bypass this I tried naming the app.py to index.py (no luck) and running an indexer script (also no luck, just displays my files). Does anyone know how to get my website to successfully display, otherwise I will have to make major changes to all the files so that I can rename home.html to index.html and hopefully it will work.
Hosting a GitHub repo in Hostinger
166 Views Asked by Vishwaa Kannan At
1
There are 1 best solutions below
Related Questions in PYTHON
- new thread blocks main thread
- Extracting viewCount & SubscriberCount from YouTube API V3 for a given channel, where channelID does not equal userID
- Display images on Django Template Site
- Difference between list() and dict() with generators
- How can I serialize a numpy array while preserving matrix dimensions?
- Protractor did not run properly when using browser.wait, msg: "Wait timed out after XXXms"
- Why is my program adding int as string (4+7 = 47)?
- store numpy array in mysql
- how to omit the less frequent words from a dictionary in python?
- Update a text file with ( new words+ \n ) after the words is appended into a list
- python how to write list of lists to file
- Removing URL features from tokens in NLTK
- Optimizing for Social Leaderboards
- Python : Get size of string in bytes
- What is the code of the sorted function?
Related Questions in GITHUB
- How do I create my own Git branch to work on?
- Tools for Apache Cordova - Installed Plugins are skipped in build
- Permission denied hg-git
- git hard reset - what am I doing wrong?
- Merge Pull Request Manually
- rebasing interactively, but only one commit shows up?
- Error when adding a new build stage on Bluemix DevOps Services
- What should I do if I put MS Office (e.g. .docx) or OpenOffice( e.g. .odt) document into a git repository?
- How to trigger git hooks without pushing to the repo
- How to push a Git server repository issues to Github repository?
- How to backup an AOSP project on GitHub
- How to reference comments in github.com?
- Aptana, github & remote (sftp) files
- Opening PDF in a browser with Github Pages
- I need git to include the parent directory
Related Questions in HOSTING
- Apache 2.4.7 error client denied by server configuration: /home/appname
- Google App Engine - Writing app.yaml for a particular url like applicationName.appspot.com/docs/ec-quickstart/index.html
- Direct 1and1 domain to Azure site
- Host Four ASP.Net Projects in IIS as single direcory(maintain more projects in same url)
- How to emulate php CURL request on server? CURL request blocked from server but not from localhost
- I have uploaded the files of my website in cpanel in public_html but after that website is not visible on web
- How to fix 508 Resource Limit is reached in PHP MySQL
- Hosting for Ruby (and Rails) like hosting for PHP
- Hosting a spring boot app with maven
- How can I run a Jekyll powered website from HostGator?
- Switching between a Vps/Dedi to a Cloud service (Like AWS/Google)
- Heroku makes you pay to use specific features, why? how does this work with hosting solutions?
- How do I deploy and manage a small scale Java desktop application?
- Hosting Laravel 4.2 project on share hosting
- Hosting webapp on an AWS EC2 server. Do I need to use the AWS "application services" for search and email?
Related Questions in WEB-HOSTING
- Magento returns 404 page randomly
- Web host with no template
- Add the phpmyadmin config to the file?
- Deploy Laravel 4.2 using only FTP in a shared hosting
- How to solve "Secure Connection Failed" at Server Side Issue
- Find out website hosting location
- AWS Route 53 to redirect existing domain name to EC2 IP address
- How to Host and Run a Python Script on a Cloud for free and access it online?
- "View Page Source" shows html fully expanded
- Error 404 when trying to upload Codeigniter Project 3.0 to hosting?
- Parse error: syntax error, unexpected '{' password.php 00webhost
- How to host Website using Virtual Machine in Azure?
- My website is accessed by direct URL but not by the domain name I bought. How to solve the issue?
- How to point HostGator domain to EC2 AWS
- Switching between a Vps/Dedi to a Cloud service (Like AWS/Google)
Related Questions in INDEX.HTML
- Vite escapes characters from index.html src tag
- How to Dynamically Change Header Meta Tags for Link Previews using React.js, Node.js on Microsoft Azure
- Index.html issue & Vue
- ReportNG not generating index.html report inside target folder
- Index.html generation failed Angular 16
- CloudFront with S3: "X Cache Error from cloud front"
- Hosting a GitHub repo in Hostinger
- How I can block user access to an xml file via the URL of my website, But that software like Kodi can read it
- Vite build command produces index.js instead of bunch of files including index.html, why is that?
- How to set vite config to remove index file sunbfolder while mutlple entry point
- Angular | Receiving index.html when using proxy
- Where's the ol.js (full build of library) from open layers 6v documentation on 9v?
- Why is my GitHub pages website displaying a blank page when deployed?
- Should the filename + extension be included as part of a Canonical Tag
- Why isn't Blazor able to find a JavaScript function declared in index.html?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Create a
.htaccessfile in your document root with the contents:That is the standard way of configuring which file powers the home page for the Apache webserver (which is used by Hostinger and almost all companies offering shared hosting.)
When you say that you will have to make major changes to your files to change
home.htmltoindex.html, that worries me. The file that powers your home page should never appear in your URLs. When you link to URLs, you should link to the home directory like<a href=/>not to the actual home page file<a href=home.html>. It sounds to me like you need to go through and change all your files anyway.