Can we upload a locally hosted wordpress site to any host or just the ones that support wordpress? I am using serverpress desktop-server to create wordpress sites locally, but I am really in a fix trying to find how I can publish them online.
You can upload your locally hosted site to any server that satisfies the minimum requirements WordPress needs to work. Those requirements are given in the following link.
https://wordpress.org/about/requirements/
Welcome to stack overflow :)
I think your question has been asked already, Please search on stack overflow to see if someone has asked the same question already to avoid getting your question down voted for being a duplicate.
Anyways here's what you gotta do...
Use https://wordpress.org/plugins/duplicator/
First, duplicate your site (you need to be an admin).
Then download zip file and installer.php and upload to your new host.
Then Create a new DB for your installation on your host.
Now assuming you uploaded to root of your site and your domain is example.com... head over to example.com/installer.php
Type in your db credentials and name (Warning Be careful with db name if you enter another pre existing DB it will be wiped out! ) details and domain related details.
It will take a 5 - 10 minutes or more depending on your site size and new servers speed.
Finally... You'll be presented with Success notice, check out the logs if you want to... Next thing you need to do is to login to your new site at example.com/wp-admin and save the permalinks page in settings to fix permalinks.
Voila! You just got your site migrated from localhost to a live server, Congrats!
Initial server doesn't have to be localhost you can follow same procedure to move your site from example1.com to example2.com...
Hope that helps :-)
Related
I have a site hosted on 1&1 Ionos hosting. Purchased an SSL for the site from 1&1 Ionos as well. So let's say https://www.business.com/ is what I have. Then I have another another site say http://www.mycompany.com/ hosted at the same place - still waiting for my business SSL to be approved hence the http.
So I exported the database from business.com using plugin WP Migrated DB - setting the new URL and actual filepath.
Then I imported the database into a new database for my staging environment to be hosted at http://www.mycompany.com/clients/business.
I copied ALL the wordpress files for the site http://www.business.com/ into http://www.mycompany.com/clients/business exactly except I changed wp_config.php file to reflect the new database details. i.e username, database, location and password.
So I expected http://www.mycompany.com/clients/business to be a complete replica of the original https://www.business.com/. But when I browse to http://www.mycompany.com/clients/business I get the following error:
This site can’t provide a secure connection mycompany.com sent an invalid response.
Try running Windows Network Diagnostics.
ERR_SSL_PROTOCOL_ERROR
I can't even login to the admin panel of http://www.mycompany.com/clients/business/wp-admin
Is what I tried even possible and if it is please tell me what I did wrong and how to fix it. I'd like to create a staging environment to test new themes and plugins before implementing on live environment. Critical to my original site is the aMember plugin which manages all the membership registration info. I've deleted the Really Simple SSL plugin folder from WP-Content/Plugins folder but the error remains.
Thanks in advance for any and all help and advice!
Step 1:
Check your .htaccess for rules enforcing https
Step 2:
Did you replace all links in the database? If not, you must search and replace all links from https://www.business.com/ to http://www.mycompany.com/
You can use a tool from: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/comment-page-4/
Or just use command line wpcli (wp search-replace https://www.business.com http://www.mycompany.com
Step 3:
Open the new 'http://www.mycompany.com/' in a incognito tab. Browser caching might still redirect you to https.
Background:
So I have a website which is up and running. But now I want to change the hosting provider of my existing website due to certain issues.
Since, I am changing my hosting provider I thought I had do some website changes as well so I am going to buy a new WordPress theme from a third-party and run it on the new hosting provider.
My research
For what I learned, I will have to buy a different domain name and host my newly bought WordPress theme on it. And when I have made the desired changes to my WordPress theme then I can change the domain settings with my new hosting provider and redirect the old website links to the new website.
My question is
How can I host my new website on the same domain while my old website is still hosted? Is that even possible?
Is there a way where I can keep my existing website running while I am working on my new website but the new website needs to run on the same domain name as the old website was running on?
I will give you 3 solutions to solve this problem depending on your ability.
On live site running you login hosting and create new site dev after done you can point domain to new hosting and move code ( use plugin i think point domain + souce about 1 - 2h if update delay can 1 day ), if you are anxious you can temporarily turn off the indexing.
New hosting provider when payment done they'll send you link static domain temporary ( or use domain free: tk, co.cc,... ) and you working it after done you need point domain and update url in database.
Old hosting provider you can create new subdomain but point it to new hosting provider and working in new hosting when done you only point main domain to new hosting after use plugin clone to root site.
Can use DNS but you need you need to have experience with the system.
Hope to help you solve your problem.
Note:
You can learn plugin Duplicator best migration hosting.
This is what you should do.
Create a full backup of your exiting files and database
Activate the maintainance mode
Install your new theme into your current wordpress installation
Make the required changes
Once you are happy get a full back up including database
Do the DNS changes on your domain register
Upload your site, to your new host , to the correct path / folder
Wait for the DNS update and your are good to go.
http://sidparmar.ca/portfolio/ This is my portfolio website and an only home page is working with the domain name. Every link is broken unless replaced by IP of my VPS which is 64.20.53.42.
So usually it should work like sidparmar.ca/portfolio/contact/ (give me an error "The requested URL /portfolio/resume/ was not found on this server.")
but currently, it is only working if I type 64.20.53.42/portfolio/contact/ as URL.
Please let me know if you have any suggestions/advice or pointer that I should look into. Any help is appreciated.
Has your site been like this since you installed Wordpress? If so, then where did you install wordpress (i.e. what directory)? It looks like you did not install it in the web root directory of your web server. Also, when you installed Wordpress, are you sure you specified the correct URL of your website?
My suggestion based on the limited information you provided and the minor amount of custom content of your website is to simply delete your database and files, create a new database, and re-installation Wordpress following exactly the correct instructions. Your VPS host may have an outlined process for you.
Alternatively, if this is a new issue, do you think you caused it? If so, what did you do? If not, you should probably contact your VPS host to see if you or they need to make an update in your DNS settings.
Found the answer by myself! Yeah!
I just added "ServerAlias www.domainname.ca" to my apache2 conf file (000-default.conf) which you can probably find at /etc/apache2/sites-available directory in your VPS.
Not sure why this worked or what exactly caused the problem but I am sure that it happened because of Yoast SEO plugin.
I am currently migrating my website that was hosted on GoDaddy to an Amazon Linux instance. Everything has worked so far using elastic IP that I allocated, but I haven't been able to access other pages using the GoDaddy domain I transferred from my original website.
I have tried to change the site address/URL structure in the Wordpress settings, but I almost broke my website (TWICE!). Should I be changing one of the .htaccess files instead of the native Wordpress setting?
My elastic/public EC2 instance IP is: 52.26.232.168
The domain I would like to point to the IP is: artrantsbyaj.com.
Any help is greatly appreciated.
NOTE: I do not yet have a high enough reputation to post images yet, I apologize.
Try to refresh your permalinks:
Go to the permalink settings and save them (do not change anything, only click on save to refresh your permalink structure).
Test it and let me know if you have any problem.
Regards.
Please can someone help me to clarify what issues i might have when the hosting company changes the DNS settings to point away for the current old site (basic html) and to the new WordPress version of the web site?
Both sites are with the same hosting company (I cannot change hosts or hosting names now, my client and the hosting company are long term business partners). I think the server that the current live website is unable to host WordPress. So they set up another server for WordPress and called it something completely different.
Old website address http://www.therealwebsitename.co.uk
Current Location of new WordPress site on hosting server: http://test.blahsystems.co.uk
I think this bit is important!!
The new website is on a Windows Server and uses pretty perma links and also the .html pages plugin. There are also some redirects going to 7 pages on the old site. Everything is currently working ok.
Nest week the hosting company are going to change the DNS settings to point to the new website http://test.blahsystems.co.uk which will hopefully become the new website with the new address of http://www.therealwebsitename.co.uk
The hosting company have also said that I should not have used Permalinks at the moment because once the DNS is pointed to the new site the links will have become permanent (well I had already set up permalinks before they told me). I have not used the full address when making any links within the site.
Will the 'Find & Replace' plug-in on the database still work ok to make any required changes? I am confused as to how the DNS change actually works, will this affect what the links are called in the database or can I still change them from:
http://test.blahsystems.co.uk
to
http://www.therealwebsitename.co.uk
I presume I will need to change the Word Press address and site address in the settings panel to http://www.therealwebsitename.co.uk, once the DNS propagation has finished.
Very long winded I know but any help would be much appreciated.
Thanks
Ok - I will do the best I can to answer these 8-)
Please can someone help me to clarify what issues i might have when
the hosting company changes the DNS settings to point away for the
current old site (basic html) and to the new WordPress version of the
web site?
When you change your DNS - it's like moving into a new house.
The whole building can change - so it sounds like you're leaving a Windows environment for a Linux environment. Which is cool.
What happened on the old site - should not really impact the new site OTHER than the fact that search engines will still try to remember the old sites structure. It will take time for the search engine to realize that things have changed and that pages are new or missing.
301 Redirection can help with this.
Both sites are with the same hosting company (I cannot change hosts or
hosting names now, my client and the hosting company are long term
business partners). I think the server that the current live website
is unable to host WordPress. So they set up another server for
WordPress and called it something completely different.
Old website address http://www.therealwebsitename.co.uk Current
Location of new WordPress site on hosting server:
http://test.blahsystems.co.uk
I think this bit is important!! The new website is on a Windows Server
and uses pretty perma links and also the .html pages plugin. There are
also some redirects going to 7 pages on the old site. Everything is
currently working ok.
WordPress can use permalinks. If you have moved pages around - like mysite.com/about-us and it's not called mysite.com/about - you will need to create a 301 Redirect to let search engines know.
Nest week the hosting company are going to change the DNS settings to
point to the new website http://test.blahsystems.co.uk which will
hopefully become the new website with the new address of
http://www.therealwebsitename.co.uk
The hosting company have also said that I should not have used
Permalinks at the moment because once the DNS is pointed to the new
site the links will have become permanent (well I had already set up
permalinks before they told me). I have not used the full address when
making any links within the site.
I don't think using permalinks will cause a problem. They aren't "permanent". Nothing is - it's all in a transient state.
Will the 'Find & Replace' plug-in on the database still work ok to
make any required changes? I am confused as to how the DNS change
actually works, will this affect what the links are called in the
database or can I still change them from:
http://test.blahsystems.co.uk to http://www.therealwebsitename.co.uk
Sounds like this plugin is outside of the WordPress install? If so - it should still work.
If it's a plugin your hosting provider is giving you, then there should be no problems.
I presume I will need to change the Word Press address and site
address in the settings panel to http://www.therealwebsitename.co.uk,
once the DNS propagation has finished.
Yes, make sure to update your General Settings prior to the site going live so you don't have any down time.