I installed vestacp on the ubuntu server, did everything according to the instructions and everything works except for the dns names for the server. Here are the apacha configs:

server { listen 85.118.114.467:80; server_name test.dev.ru www.test.dev.ru; error_log /var/log/apache2/domains/test.dev.ru.error.log error; location / { proxy_pass http://85.118.114.467:8080; location ~* ^.+\.(jpeg|jpg|png|gif|bmp|ico|svg|tif|tiff|css|js|htm|html|ttf|otf|webp|woff|txt|csv|rtf|doc|docx|xls|xlsx|ppt|pptx|odf|odp|ods|odt|pdf|psd|ai|eot|eps|ps|zip|tar|tgz|gz|rar|bz2|7z|aac|m4a|mp3|mp4|ogg|wav|wma|3gp|avi|flv|m4v|mkv|mov|mpeg|mpg|wmv|exe|iso|dmg|swf)$ { root /home/admin/web/test.dev.ru/public_html; access_log /var/log/apache2/domains/test.dev.ru.log combined; access_log /var/log/apache2/domains/test.dev.ru.bytes bytes; expires max; try_files $uri @fallback; } } location /error/ { alias /home/admin/web/test.ru/document_errors/; } location @fallback { proxy_pass http://85.119.144.216:8080; } location ~ /\.ht {return 404;} location ~ /\.svn/ {return 404;} location ~ /\.git/ {return 404;} location ~ /\.hg/ {return 404;} location ~ /\.bzr/ {return 404;} include /home/admin/conf/web/nginx.test.ru.conf*; } 
If I go on ip 85.118.114.467 then everything is OK, that page is opened that is needed. If I go to the domain name test.dev.ru then "I can not access the site ..." What is the problem please tell me ??

  • and what ip-address test.dev.ru name test.dev.ru on the computer where you run the browser? - aleksandr barakin 5:27 pm
  • @alexanderbarakin I work remotely with the ubuntu server using sh. How to check it? - Evgeny Pivovarov
  • for example, run the $ ping test.dev.ru on the computer where your browser is running. - aleksandr barakin February
  • @alexanderbarakin on this ip 176.9.7.107 - Evgeny Pivovarov
  • and what do you want from your browser then? so that the name is resolved to 85.118.114.467 (wonderful ip-address, by the way)? it's none of his business, naturally. use, for example, the file hosts - aleksandr barakin

0