Questions tagged as 'cpanel'

1
answer

Create MySQL user and database via PHP

1 - Is it possible to create new MySQL user and database via PHP script? 2 - If so, would it involve any such security risk? Objective: I have a system running (CMS itself) where the user does almost everything to activate on the serve...
asked by 18.10.2015 / 12:19
2
answers

Max size larger than 2MB in file upload DOCman

When I try to send a file through Joomla DOCman, it will not let me upload files larger than 2MB. However I have been to see all the configurations of the cpanel and has all a good limit. Here is a print of the settings that I put in the cpanel,...
asked by 14.10.2014 / 14:00
1
answer

Dynamic subdomain with htaccess and php

I'm breaking my head. I need to create dynamic subdomains for each user that registers in my site (ex .: user1.domain.com, user2.domain.com, user3.domain.com) without having to create one by one in the cpanel. I know this has to do with wildc...
asked by 06.12.2017 / 20:03
1
answer

Create DB via PHP = Access Denied!

I'm trying to create a DB via PHP script, but it is returning ACCESS DENIED. <?php $dbhost = 'localhost'; $dbuser = 'usuario_root'; $dbpass = 'senha_root'; $conn = new mysqli($dbhost, $dbuser, $dbpass); if($conn->connect_...
asked by 26.09.2017 / 15:52
1
answer

Domain pointing to an IP with port?

In cPanel with a Type A record I can only specify the IP to which the domain is to be forwarded, this will by default redirect to port 80, but if the target settings are running on a port other than 80. How can I specify in cPanel a record th...
asked by 21.01.2017 / 22:20
1
answer

Hostesses that use JSP

I have a web hosting linux that I put all my systems in PHP, and now I need to work with the extension (* .JSP) and I have some doubts What kind of host do I use to run JSP? Does CPanel run JSP automatically? What do I need to do to ru...
asked by 09.05.2015 / 04:14
1
answer

Redirect Subdomain to another server

I am using cPanel and can redirect the subdomain exemplo.dominio.com.br to another server using registry A and IP of the new server, but how do I make this subdomain to be accessible also using www or without www? Would it be in th...
asked by 03.02.2015 / 21:11
0
answers

Website does not open with https on mobile?

Something that occurred to me recently was to search the website that I am doing in Google , however, when I enter the link displayed in the search, it does not redirect to the site with https while on the computer it redirects righ...
asked by 13.04.2018 / 20:54
0
answers

Redirects with Htaccess

I would like to create an htaccess configuration that is more or less with the following rules. When you access link , go to a specific folder and when you access http: //*.mysite.com/ direct to another folder on my server. If I hide a su...
asked by 08.10.2017 / 02:16
1
answer

How to access MySQL Remote from Cpanel

How do I access the Cpanel MySQL database? I have already entered the wildcard host% in the list of allowed hosts, but when trying to access this error message appears:    Error # 2003   Can not connect to MySql server on 'ServerHost.com' (10...
asked by 10.02.2017 / 19:24