Jump to content

Migrating website from dev server to live server.


Siddhi Jagtap
 Share

Recommended Posts

10 hours ago, JeevanisM said:

I dont understand this fully, but ideally, all your PW related files/folders should be inside that ' test ' only, if you want this website work in the subdomain way. If the website should be as the main domain, all your PW files should be the public_html folder (docroot), whichever the case, you should do this in the installation steps, not after that .

 

to give you a clear understanding, below is my folder structure , bhimon is my subfolder where I installed my PW backup and website is accessed as 
http://www.jeevanism.com/bhimon

image.png.94684e854de1f1c95779c91a4ccfed11.png

I will try doing a fresh install today and see if that works. Also if your website is http://www.jeevanism.com/bhimon, then you docroot is pointing towards the test folder yes? You would just add the bhimon after the domain address to access?

Link to comment
Share on other sites

@JeevanisMI was able to migrate the website now to a different server. The website works well. However I am unable to login to the admin panel. The login page appears, but when I try to login, the page just refreshes without any error. This happens for any combination of credentials. Any idea why this might be happening?

Link to comment
Share on other sites

5 hours ago, Siddhi Jagtap said:

I will try doing a fresh install today and see if that works. Also if your website is http://www.jeevanism.com/bhimon, then you docroot is pointing towards the test folder yes? You would just add the bhimon after the domain address to access?

Well, 

I created the folder ' bhimon', then uploaded the PW zip file and extracted it. It will have a folder named processwire but I had to move everything outside of it, so that every files will be in the 'bhimon' folder. Then I called the installation such as http://www.jeevanism.com/bhimo

this will start the installation and went everything good. I could access my website and my admin URL . 

 

Quote

You would just add the bhimon after the domain address to access?

well, yes if your 'folder' name is 'test' then you will have to add that at the end of the URL. 

1 hour ago, Siddhi Jagtap said:

The website works well. However I am unable to login to the admin panel. The login page appears, but when I try to login, the page just refreshes without any error. This happens for any combination of credentials. Any idea why this might be happening?

please try to enable the debug mode on, so that you can see if there any errors. On the client side, check any errors happening in FireFox/Chrome developer console. 

Link to comment
Share on other sites

3 hours ago, JeevanisM said:

Well, 

I created the folder ' bhimon', then uploaded the PW zip file and extracted it. It will have a folder named processwire but I had to move everything outside of it, so that every files will be in the 'bhimon' folder. Then I called the installation such as http://www.jeevanism.com/bhimo

this will start the installation and went everything good. I could access my website and my admin URL . 

 

well, yes if your 'folder' name is 'test' then you will have to add that at the end of the URL. 

please try to enable the debug mode on, so that you can see if there any errors. On the client side, check any errors happening in FireFox/Chrome developer console. 

I finally managed to get this working. The mod rewrite for the Apache server had to be enabled and I could then log into the admin panel.

Thanks a lot everyone for all the help. PW has an amazing community!

  • Thanks 1
Link to comment
Share on other sites

52 minutes ago, Siddhi Jagtap said:

I finally managed to get this working. The mod rewrite for the Apache server had to be enabled and I could then log into the admin panel.

 

ahh something obvious !! glad you figured it out, wishes :) 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...