Wallpaper Script Forum » How-To and Troubleshooting

Change web host (main to addon domain)

(18 posts)
  • Started 1 year ago by promene
  • Latest reply from mshmethu
  • 1 Members Subscribed To Topic
  1. Hi,

    I have to move my site from one to another webhost. In the first webhost, site is on main domain and now, on new host, I have to move site in addon domain. Both webhosts have cPanel for managing.
    Could anybody explain how I can do this, please? Thank you.

    Posted 1 year ago #
  2. Does anybody have the answer? Please people, I have just few days left to do this

    Posted 1 year ago #
  3. shekhar
    Member

    On new host create a new folder then transfer your site to it from old host.....create new sub-domain on new host and link it to that new folder....

    Posted 1 year ago #
  4. Thank you shekhar, but what about mysql database? how can i move it on another host?

    Posted 1 year ago #
  5. Go to Phpmyadmin on your old host and take a backup of your database by using the export option, then make a database on your new host of the same name, and import that backup.

    and if you haven't added your domain to the new host, add your domain to the new host Cpanel via addon domain option(automatically it will create a subdomain and a folder on your server) then copy(upload) all your site files to that folder.

    Posted 1 year ago #
  6. OK, I done it, but it is impossible to create database with the same name like in previous web host because, main username now is different and the username is part of database name.
    I should change database name and database user but I don't know where

    Posted 1 year ago #
  7. Change in db_info,php in root directory

    Posted 1 year ago #
  8. There are no previous database name or user in db_info.php file so I don't know where to change

    Posted 1 year ago #
  9. How did you connect last time?
    The info inside that file tells how to connect

    db_info.php

    <?php
    define("DB_HOST", 'localhost');
    define("DB_USERNAME", 'xxxxx');
    define("DB_PASSOWRD", 'xxxxxxx');
    define("DB_NAME", 'xxxxxxx');
    define("DB_PREFIX", 'ws_');
    ?>

    Posted 1 year ago #
  10. Thank you zeero, everything works fine now. thank you very much!!!!

    Posted 1 year ago #
  11. Glad it worked

    Posted 1 year ago #
  12. I just change host and edited everything according by this thread, but getting error in some wallpaper not all, saying;

    "Warning: Division by zero in /home/freecool/public_html/highresolutionwallpapers.co.cc/view.inc.php on line 67"

    But my location should be /home/totalfre1/public_html.......

    I changed db_info but getting same thing on some wallpapers, it is reading my old server location!

    Can anyone please help meout of this.

    Thanks

    Posted 1 year ago #
  13. Are you sure you are using localhost as DB_HOST?

    Posted 1 year ago #
  14. Sure, But that problem was with domain propagation! I transfered all files via net2ftp, got all files ok in new cpanel, but having a problem like this
    http://www.highqualitywallpaper.co.cc/6015_microsoft_windows_ii-wallpapers.html

    please check the above link and click on wallpaper download and read the message what it is saying, "no such file or directory"

    But I checked, that directory and file is in as it should be! Can u please tell me what to do for this error?

    Thaks

    Posted 1 year ago #
  15. 1. walls/6015_microsoft_windows_ii-normal5.4.jpg this file is missing in directory walls, you can confirm

    2. Net2FTP file transfer error may be, few files may have not been transfered, try SSH or cpanel automated transfer.

    Posted 1 year ago #
  16. Can you please tell me how to use SSH and cpanel automated transfer.
    I don't know the procedure.

    Anyway I want to buy mix category cool wallpapers pack. how much for such kind of pack?

    Thanks

    Posted 1 year ago #
  17. 1. Please check if your host allows ssh first, if yes I ll post a tutorial here for ssh site transfer, and if you are on shared hosting I guess you will not be having automated cpanel transfer option :(

    2. You can either chat at www.wallpaperclub.org Live support for any template / pack related queries or chat at wallpaperclub.org@gmail.com

    Posted 1 year ago #
  18. Oh! my server does't support SSH. You right nikhil, I just uploaded that file in walls folder now see that link again it is now showing

    http://www.highqualitywallpaper.co.cc/6015_microsoft_windows_ii-wallpapers.html

    I'm adding you in my gmail contact

    Thanks

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.