Answer the question
In order to leave comments, you need to log in
How to create websites using VestaCP on a laptop with Centos 7 server installed and connect them to the Internet?
Good afternoon.
There is a laptop with installed Centos 7 server + VestaCP.
The laptop is connected to the router via a wired connection.
To manage this server, another laptop connected via Wi-Fi to the same router is used.
Management is performed via SSH.
When entering the control panel, I click "add domain", create a domain and an ftp client, upload the site using filezilla, but at this stage the site does not open in the browser (even locally), what am I doing wrong?
p/s: my server address is 192.168.0.220 using this path, I now get to the mail.192.168.0.220 page
when uploading site files to this address, it is available.
How to create other site names in VestaCP so that they open?
How to access this site from outside?
Well, how to attach a domain to your site, which is located on your server?
Answer the question
In order to leave comments, you need to log in
If there is a purchased domain, then set the www, @ and * records with the value of your server IP. Wait until the domain (or whatever it is called in DNS) turns on and it should work.
Set up dmz or port forwarding on your router to your local IP 192.168.0.220
Go to codeacademy.com and choose any course. There you can easily and in a playful way learn the very basics of some mainstream programming languages. From myself I will advise Python. You will understand in this way with the simplest issues, such as conditional jumps, loops, subroutines. Further it will be seen.
Choose a niche - the choice of language will depend on it. (Web, GameDEV, System, Mobile, etc.)
In general, start with algorithms and data structures and their implementation in the language you like. Google to the rescue.
Learn C/C++, it will come in handy. Yes, and a toad with a pokhape is similar.
If you have never programmed before. Even for, while is tricky for you, I recommend mastering the book:
"Master yourself C ++ in 21 days", J. Liberty.
Afterwards, it will be necessary to "refresh" knowledge and put thinking on "programmer rails" and for this I recommend reading Laforet, "Object-Oriented Programming in C ++".
After these two books, I recommend reading:
Weisfeld M., "Object-Oriented Thinking", Programmer's Library, 2014
In my opinion. If you know C++, you will definitely be able to understand other languages!
Start with anyone!
It doesn't matter at all. I would choose Java, it seems to me that it will be the easiest for a beginner. Read Eckel's "Philosophy of Java" even in Russian.
When you understand what and how, get a little comfortable, you can already make a CONSCIOUS choice. It may seem to you now that GameDev or the Web is the most interesting, until you try it you will not understand.
It is easy for a beginner to get into the enterprise, minimal knowledge of Java, understanding of SQL and you already have a chance to get an intern on the project. I know what I'm talking about, supervised students, and brought up juniors to my team. Look for courses.
But first, think, is it necessary? now a lot of random people are rushing into IT and the "locals" are unhappy, because the new cameras came for the loot, and they don't think that they pay not for beautiful eyes, but for the exhausting work of the brain. Not everything is as scary, but not as rosy as it seems :).
If you have no idea how work can be a hobby, programming is not for you. Because you will always be weaker than addicted colleagues
In my opinion, in order to start programming, especially if you are already a student in the past, you need to find a familiar programmer who will help you take the first steps. And you can begin to study exactly the platform on which it can help.
Most books try to describe all the features of the platform, but do not cover the accents that only a practicing developer knows. There are many things that are needed in principle, but only 1% of programmers use them conditionally. But there are things that are better to understand in the beginning.
Also, tasks from books are usually very far from reality. They test more mathematical background than the ability to express this solution in code, or are designed to teach how to use a particular function, and not solve a life problem.
Well, if a student, then everything is the same, but you need to get somewhere to practice. See what options there are in the city, under this and learn a specific platform.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question