Free Arcade Script
FAS Help => V3.x => : kratos May 21, 2015, 04:29:09 PM
-
hi,i tried changing host today but i have an issue,after i upload my backup to my new server and tried visiting it, i got a white screen.
can anybody explain how to transfer site from one host to another?
-
Old Server
First make a full backup of your database
copy all files to your pc
before your upload to new server delete all files in the cache folder.
Transfer your DNS to new server
New Server
create new database
import database
insert new info into the includes/config.php
create a file named path.php
with this info
<?php
echo getcwd(); // Short for `Get Current Working Directory`
?>
upload path.php and run yoursite.com/path.php
copy and insert the info in the includes/config.php for cache
upload all files
Now you should be able to login into admin, insert the new directory path in admin => settings
Done! 8)
-
i get
Not Found
The requested URL /login/ was not found on this server.
-
did your transfer your domain to your new server DNS or IP?
-
server dns
-
yea like ns1.myhosting.com / ns2.myhosting.com
where is the domain registered at? namecheap, godaddy, ect
-
i pointed my domain to my server ip on digital ocean
-
that is ok, it can take up to 24hrs to transfer.
-
the site is up,
when i try to login or sign-up i get that.
-
same with trying to play a game..
Not Found
The requested URL /login/ was not found on this server.
-
oh, what is the site so i can take a look
also make sure you have apache rewrite module enabled
-
how do i enable apache rewrite module?
-
each cpanel/ server is different but the should be in the hosting settings, php settings
-
mod rewrite is enabled
-
still same issue
-
hi, i think the issue might be from nginx
-
i am running nginx via reverse proxy using vesta cp..
but the issue might be the nginx.conf
i tried this
i solved it there was no .htacess in the site
thanks ;)
-
Cool, glad you got it sorted, my next step was the .htaccess file .... lol
-
lol :D