Question: |
Good time of day. The question is. I created a test account. It is necessary to move 6 websites from the server of hetzner. On the server they are in folders.EN\\su. Also there is and phpmyadmin all databases. When you create your account, you needed to specify an already registered domain, the main files which will lie in public_html. The task is to migrate all the sites in the same form in which they are now on hetzner. Here we will need access to ftp and databases which I can provide. I would like to know will need something else and the details of the transfer. Thank you |
Answer: |
Hello. add the other domains as an extra in spanel so we know where to copy the file and provide the credentials. |
Question: |
I created more domains. Only in the panel they appear as subdomains (Yes of them are actually subdomains). The transition should be made directly domen.ru not subdomen.domen.ru. Maybe it`s because I created them in the root directory of the primary domain public_html? As the right to create additional domains is that they are independent, not tied to the main domain and had kind domen.ru? (except the two real subdomains) |
Question: |
*(Two of them) |
Answer: |
if you have added domains in the section - additional domains - that they can`t otobrazhatsya as subdomains. Specify the directory to create advanced domain you can anywhere account. This independent domains. Bar service always creates a subdomain with the user name to create extended domain. these subdomains are necessary for work of statistics. |
Question: |
I created more domains and the root was public_html. If the switch in the panel under additional domains, where they appear as domen.ru and if you go to the subdomains, so they already have the form subdomen.dome.ru. This is normal, in fact they are domen.ru? |
Answer: |
what goes into Rahzel subdomains if You added a domain? additional domain is an independent domain and not a subdomain. |
Question: |
In section subdomains I switched as was required to create two real subdomain, I just noticed that the additional domains in this section also have and have the form of subdomains, that`s interesting |
Answer: |
Bar service always creates a subdomain with the user name to create extended domain. these subdomains are necessary for work of statistics. |
Question: |
Well, it`s understandable. now I can send details? You only need access to ftp and databases for each site? |
Answer: |
if you have different details for each site, let`s different. |
Question: |
Different accesses only databases, one ftp account for all sites |
Question: |
You can send details here in text format? |
Answer: |
Yes, and please specify the website address, log and password. |
Question: |
Access via ftp: IP ehg zh7WMdmQ0119GF0aAkD6 Database sites:ehg.iima dB - apparel dB - rSumEU59DAq4AH72nebosvod.iima dB - nebosvodПароль dB - 47umNBRZjcYafhswparket-ideal.giema dB - parketПароль dB - KCjPSSyKqAZE8m5fparkett-service.giema dB - parkettserviceПароль dB - s4BR4MVb9PnC83T4prompol.ehg.iima dB - prompolПароль dB - h9tJGNSXBqxLVaQ8shop.ehg.iima dB - abarai dB - KGL3GKYZjUq9PAYBПуть to phpmyadminhttp://ehg.su/myadmin/ |
Question: |
is that enough? |
Answer: |
please Wait. |
Question: |
another very important question. You can start the transfer between 21:00? The fact that now the sites are active, they will cease from 21 hours |
Answer: |
Good. The transfer will start when you tell me. |
Question: |
Thank you, this information is sufficient? |
Answer: |
Yes, FTP access is, access to the database is also there. You added the domains in spanel? |
Question: |
Yes, all the domains there. 4 main (one of which is public_html - ehg.su) and two subdomain |
Answer: |
moved the files, move the database |
Question: |
About how much time it will take to transfer? |
Answer: |
the database migrated. |
Question: |
please write as you`re ready, when you can start delegating domains |
Answer: |
you only have to change the data in the configuration files. before ka caminati DNS we recommend you to check it out how? - on your computer, find the hosts file and mount it. ip domain where ip is the ip of the server domain - your domain |
Question: |
Where the file is located? Search gave no results |
Answer: |
on the drive From Your computer c: \\ WINDOWS \\ system32\\ drivers \\ etc \\ |
Question: |
Found. And after that. as I prescribe, then what to do with it? |
Answer: |
after verification, you will need to delete records |
Question: |
what is the query in the cmd register after making a change in hosts ? |
Answer: |
just open the sites in a browser. but they are not yet configured |
Question: |
First, I get an error internal server error, then after refreshing the page just opened site. |
Question: |
again error 500 internal server error |
Question: |
appears if in hosts to register domain without http |
Question: |
That is, if register ping in cmdping ehg.jobman packages ehg.su [IP] with 32 bytes of data:Reply from IP: bytes=32 time=50ms TTL=55Ответ here IP: bytes=32 time=51мс TTL=55Ответ here IP: bytes=32 time=51мс TTL=55Ответ here IP: bytes=32 time=53мс TTL=55Статистика Ping for IP: Packets: sent = 4, received = 4, lost = 0 (0% of losses)Approximate time of reception-transfer in a msec: Minimum = 50мсек, Maximum = 53 msec, Average = 51 msec |
Answer: |
you need to Specify the record: the IP ehg.su Without Protocol and www |
Question: |
Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Error connection to database |
Answer: |
please Check now. |
Question: |
Error connection to database |
Answer: |
refresh the page, we have a website working http://screencast.com/t/ZN1kFFXMPa9D |
Question: |
Cleaned the cache, updated using ctrl+f5 did not help, same error |
Question: |
The contents of the hosts file:IP ehg.suIP www.parket-ideal.ruIP nebosvod.suIP parkett-service.ruIP shop.ehg.suIP prompol.ehg.su |
Answer: |
please wait, Your issue is being dealt with. |
Answer: |
please Check now.
|
Question: |
http://shop.ehg.su/ - Internal Server Errorhttp://prompol.ehg.su/ - Error connection to database |
Question: |
others work normalno |
Answer: |
http://shop.ehg.su |
Question: |
Yes, there was only prompol |
Answer: |
please Check now.
|
Question: |
all sites are working fine. This transfer can be considered complete and proceed to the delegation of domains? |
Answer: |
Yes, as soon as all proveriat can change DNS |
Question: |
Checked everything works well. Thank you so much for your help in moving |
Answer: |
Since the issue has been resolved, we are closing this ticket. In case, in Your opinion, an unsatisfactory answer, You can always create a new one or reopen this ticket with my answer. |
Question: |
The only question that forgot how to configure sending mail from the site. Now not sent |
Answer: |
not sent from? |
Question: |
With newly migrated sites |
Answer: |
you have not yet moved. wait until the DNS updates |
Question: |
Domain firmament was delegated, only sending emails from the site still does not work |
Answer: |
please indicate how you are sending, give e-maily how and where you send. |
Question: |
For example with page http://nebosvod.su/natyzhnye-potolki-dileram-optom/ Sent through the php handler on the domain to Yandex mail. When it comes to handling the php handler, the page loading stops and then nothing happens |
Answer: |
please Give the path to the file script. |
Question: |
We have stopped working:http://www.parket-ideal.ru/http://www.parkett-service.EN/Internal Server Error |
Answer: |
Hello. You made changes on the website? |
Question: |
no |
Answer: |
please Check now.
|
Question: |
Everything works fine, thanks |
Answer: |
OK
|
Question: |
On account of the mail. In the example I gave, the path to the handler like this - /public_html/nebosvod.su/dialersend.php /public_html/nebosvod.su/send.php. It is only suitable for sky. Other sites use other handlers, and some send a letter through the modules and plugins, but the policy they have essentially the same. |
Question: |
There is still a plugin that optimizes the database. It encountered the following error :Checking MYSQL Dump Path ...MYSQL dump path does NOT exist. Please check your mysqldump path under DB Options. If uncertain, contact your server administrator.Checking MYSQL Path ...MYSQL path does NOT exist. Please check your mysql path under DB Options. If uncertain, contact your server administrator.Checking PHP Functions (passthru(), system() and exec()) ...passthru() disabled.system() disabled.exec() disabled. |
Answer: |
this plugin will not work. function system() exec() disabled for purposes bezopsnosti and inclusion of the shared hosting is not provided. only vps |
Question: |
Well, it felt like only a matter of sending emails |
Answer: |
on which box was sent mail, when and from what site? |
Question: |
EMAILС Saitov:http://nebosvod.su/http://ehg.su/http://www.parket-ideal.ru/http://www.parkett-service.ru/http://prompol.ehg.su/the Letters were sent before moving from hetzner |
Answer: |
what was going to pezda does not matter, we inerest only sent from our server. you are a box EMAIL created on our server? |
Question: |
no, the box is not created |
Answer: |
then where will the mail arrives? create a box in the control panel |
Question: |
Account created, just mail ` even so written in the handler forms email sending directly in the code. But the handlers don`t want to work, just some do not load (which reload the page after sending), others write that letter sent, but in fact it is not |
Question: |
on the previous server had the same thing until I enabled sending mail |
Answer: |
we have all concluded by default. work and mail, or smtp |
Question: |
|
Question: |
the code is sent to the processor from the sky |
Answer: |
please kindly never put the code in the ticket. give only the path to the file. where you see the error? |
Question: |
/public_html/nebosvod.su/dialersend.php |
Answer: |
are You sure that this code is correct? (:username,:email,:phone,: lid,:url,: referer,:datesend)\"); Try to fix: ($username,$email,$phone,$lid,$url,$referer,$datesend)\"); |
Answer: |
what this part of code? $st- > bindParam (\"username\", $username); $st- > bindParam(\":email\", $email); $st- > bindParam(\":phone\", $phone); $st- > bindParam(\":lid\", $lid); $st->bindParam(\":url, $formurl); $st- > bindParam(\":referer\", $refer); $st- > bindParam(\":datesend\", $datesend);
|
Question: |
Code is correct and it worked. It is not only in this handler, and all, including those built into the modules and plugins for websites |
Question: |
When you load this page, once it comes to string
|
Question: |
in terms of php, which begins with the handler, the page loading stops |
Answer: |
site http://prompol.ehg.su/kontakty/ has been sent a test message Your message has been sent successfully. Thank you. Check your mailbox. |
Question: |
Yes. also just rechecked, from all sites messages come, except why is the sky. The handler refuses to work, only in the ego code no changes were made |
Answer: |
You can duplicate the code distribution from the second site to the sky and to correct the text of the message? Specify the path to the script file, we`ll check him out. |
Question: |
/public_html/nebosvod.su/dialersend.php/public_html/nebosvod.su/send.php |
Answer: |
please Specify which page to submit the form, provide a link. |
Question: |
http://nebosvod.su/uslugi/zamer/http://nebosvod.su/natyzhnye-potolki-dileram-optom/ |
Answer: |
In this script, when you resubmit the details used to connect to the database with a user form - you have no such user. http://nebosvod.su/uslugi/zamer please Check now. |
Question: |
It worked, thanks, the ticket can be closed |
Answer: |
OK |