📜 ⬆️ ⬇️

Student website without cost

In the life of many students of the it-specialty there is a desire to get a job or an internship in a good it-company. And for this, it would be nice to show all your skills on a specially created website. But the student, he and the student, is usually "poor" and does not want to spend money to buy a domain and hosting, but I want everything in an adult way (and not on Ucoze).


In this article, I would like to share my experience and the experiences of my friends who are faced with such a need, and also tell in detail about the side effects, settings and technologies. There will be no technical innovations, on the contrary, this is the most detailed and understandable article in which I will talk about life hacking and try to explain technical difficulties.


What will happen in this article:



Getting a domain


Let's start by getting a domain. Here are two ways:


First: non-free, which I used myself


You can register a domain in the domain zone. Ru for only 140 rubles. I will not leave a link to the registrar, but he is easily googled (or will find you himself in contextual advertising after a couple of relevant requests). On the registrar's website you choose a free domain, buy, and use it for a whole year (this is quite easy, I will not dwell on this). True, the extension will then cost 495 rubles a year, which is also not so expensive relative to other Runet recorders.


Second: free, which was used by my friends


It is more complicated, but you get a domain in the .me zone for free for a year. However, the extension will then cost $ 18.99 (which is more than a thousand rubles) and will have to blink a little longer.


If you are an IT student, the word Github should no longer raise questions (otherwise, no online business card will help). So, this same Github helps in our business twice. First, it gives the so-called Student Developer Pack, in which will be our free domain. And, secondly, it is with the means of Github that you can host a website for free (but more on that later).


To get this pack, go to the link and log in with your Github account, and fill out a form that confirms that you are a student.


image


After you have access to this package, go here , find Namecheap in the list, click on "Get access by connecting your GitHub account on Namecheap" and link your Github account. After will be all the same procedure for selecting a free domain, and after confirmation they can be used.


Free hosting


Thanks GitHub for what it is. Special thanks for GitHub Pages , which provides the ability to host one site for an account and connect your domain for free. To do this, you need to create a repository named username .imtqy.com, where username is the user name, for example, AndreySBer.imtqy.com . The site will be available at the same address.


Website hosting is based on the master git repository branch. Each commit to master causes it to be updated. Therefore, the development and testing is best done in a separate branch and then through a pull-request merge into the master.


How to link domain and hosting (DNS)


Setting up your domain begins with his registration in the repository settings. Read more about this in the documentation . The main steps to take:


1) Specify the domain name in the repository settings.


image


2) Add a CNAME file with the domain name.


image


3) In the domain settings of the registrar in the DNS item add two A records ( more here ):



image


The connection usually takes a little time, but for some registrars, the entry into force of DNS records takes up to a day. You can also set up forwarding from the subdomain www.yourdomain.ru. How to do this is written here .


Where to get the template


There are many sites on the web that offer free business card templates. Personally, I like this one and this one .


These templates are built on the basis of Bootstrap, there are examples of ready-made blocks for pages, adapted for mobile screens (in most).
Having basic knowledge of HTML, css, Bootstrap and a sense of beauty, you can make quite a decent page (or several), commit them to develop the repository branch, test on different screens, and then upload to master.


If you need a new landing page - repeat.


image

In such a simple way, I made my personal website , as well as several pages for educational projects.


')

Source: https://habr.com/ru/post/334088/


All Articles