Quick Question.
A guest house was bought by the original owner and scenario as follows.
The Website for that guesthouse is on its own Hosted WordPress installation at the current host
The login address would be https://Example/wp-admin
I re-created that user account on our hosted WHM as I need to transfer the website and Domain to myself.
Can I login to the newly created WP-admin on my server while the A record is Pointed to the current hosts IP?
Example
Current Host
Example/WP-admin
IP:46.0.0.0
Example
New Host
Example/WP-admin
IP:76.0.0.0
How Can I login to the WP on the new host if the DNS is pointing to the IP:46.0.0.0 (Current Host)
FYI - most will ask why don't I point the A record, that's because the current host does not have the logins for the Cpanel, nor are they answering calls
THANKS,
hope this makes sense in the way I phrased it.
On your local machine you can change the hosts file to point Example webstie to 76.0.0.0 and then you can flush the dns cache and web browser cache. From now on Example website will point to 76.0.0.0 for your computer only. If you have a Windows machine and admin access, you can modify the hosts file under c:\Windows\System32\Drivers\etc\hosts ( change c partition to the partition that you have installed your windows on, if its different then "c" ) then you can add following line:
76.0.0.0 example.com www.example.com
Please make sure you flush the dns cache and clear the web browser cache afterwards.
If you want the whole world to see Example website from 76.0.0.0 you would have to change the A record.
Related
I started a Google Cloud Account. Setup a Wordpress site. All was good. I changed the URL in the backend of Wordpress to match the new domain. Was not setup right. So I changed the URL back again to the IP address. However, I am locked out. Nothing works. How can I access the Wordpress account to update the URL in case I did it wrong or entered the wrong IP address?
The only way would be to access the MYSQL database and manually change it from there, that is if you have access to the database through PHPmyadmin or putty to the server directly.
your problem is not an easy fix sorry, I would recommend burning it down and restore from a backup.
I had a domain name called: http://p2pproductions.in
Which expired a few months back since we are moving to a new site.
I have downloaded the Site files and Database scripts.
I wanted to log in to the existing WP dashboard but since the domain is expired I have no way to login to it.
You will need to edit your local computer's hosts file. This will make your browser to locally resolve the domain to the IP that it was previously hosted on.
The file is usually present in
Windows: C:\Windows\System32\Drivers\etc\hosts.
Linux: /etc/hosts
Mac: /etc/private/hosts OR /etc/hosts
In there you need to find your cPanel's IP, then append the line
IP www.domain.com domain.com
7.7.7.7 www.p2pproductions.in p2pproductions.in
After that save and close your hosts file, clear your browser's cache and access your site again - you will resolve it from your cPanel account.
Alternatively you can also use the same manner by visiting https://hosts.cx/ - in the Server Address enter your cPanel account's IP and in the Website name - p2pproductions.in
You have to access to your database and change the URL at the wp_option(instead of wp_, maybe you are using another prefix) table.
The field name you have to change is siteurl.
P.D: If you are at localhost, change it to localhost (also take a look if you're using a port, like 8080).
I have a domain in Arvixe and I want to point it to my Wordpress website hosted in Goddady.
I've tried to add that domain in my wordpress website and add the NS registers on Arvixe domain manager, but I found this error: Registry error, domain's nameservers not updated [Object status prohibits operation]
These are my DNS Register on Goddady:
And this is my domain area on Arvixe:
Did someone face this situation?
It looks like you are trying to change the name servers or delegate your domain to GoDaddy when what you actually want is to point www.yourdomain.bleh at your Word Press site hosted on GoDaddy.
In the Arvixe domain manager simply add a A record pointing to the IP address of your GoDaddy web server and make sure the site is configured on GoDaddy as www.yourdomain.bleh
Unless you want to move the control of the DNS to GoDaddy then you don't need to worry about the dns settings at all on that side of things.
The error you get from your dns provider hints that they may not let you change the NS entries freely. (May they charge or require further checks in place before its allowed)
I had to ask on Arvixe Support to point my domain to GoDaddy. So I informed the Register A and the Name Server to the attendant and he changed for me.
I have a client with two different cPanel accounts hosted on my server under WHM running CentOS.
Account A is hosted with its own IP address and domain name and is the current 'live' website. The site is running a custom Laravel backend with an attached MySQL database.
Account B is hosted as a vps using the servers main IP address with a different domain name and is the 'test' site. The site is running wordpress with an attached database.
Both domain names are hosted on godaddy under the same account.
The client wants the test account B to be hosted under the live account A's IP and domain name, and the live account A to be hosted under account B's IP and domain name, effectively 'swapping' the test site to be the live site. They want little to no downtime in this swap.
The main problem is neither I nor the client know how to do this swap with little to no downtime. Is it possible or is downtime inevitable?
To copy wordpress from 1 cpanel to another:
Access the cPanel for the new site. Create an empty DB using the "MYSQL Databases" option.
Add user to DB and Grant All.
Access WHM and then PHPMYADMIN as Root.
on Old Database (in PHPMYADMIN), click on DB name then operations.
Copy Database to (New DB Name) Structure and Data - uncheck Create Database before copying.
Copy Contents of WP From old (/home/account-name/public_html/) to /home/new-account/public_html.
Update wp-config.php to reflect new database info.
From Linux CLI, CHOWN -R new-account:new-account /home/new-account/public_html/. - make sure that public_html itself is owned by "GROUP: nobody" and "Owner: new-account"m but everything underneath that is owned by group and owner "new-account"
Update New DB to New URL's - you can find replace in the databse, or use this great tool - https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
I manage a hosting server using WHM. I have two cPanel accounts on this server, one for exampletest.com (account name is exampletest) and one for example.com (account name example). We have a Wordpress site that was working well at exampletest.com but we keep running into problems when we try to migrate it to example.com. I believe it has to do with one WordPress plugin that doesn't migrate well.
So we had the idea to simply take the example.com domain and point it to the exampletest cPanel account, then update the domain for WordPress in the database. However, one potential issue I can see is that we have many active email addresses on the example account. I fear that associating the example.com domain to the exampletest account will break the email addresses.
Keeping the above in mind, I have a couple questions:
Will associating the example.com domain to the exampletest account break the emails? If so, is there a workaround (moving the email addresses to the new account somehow?)
Is there a better way to go about doing this that I'm not thinking of?
The best way of transferring your wordpress site would be to copy the files, create a database user with the same login details and import the database. Wordpress shouldn't be able to tell the difference.
One way would be to assign a static IP address to exampletest and point example.com's A record to that IP.
Due to the way WHM's DNS and port binding is set up it will not let you set up the same domain on two seperate accounts.
You could treat www. as a seperate subdomain and add the subdomain www.example.com to exampletest as an addon domain and remove the www A record from example first. Redirect all web traffic from example.com to www.example.com or use another sub-domain such as www2.
Another option would be transfer the emails, you can either use the transfer tools in WHM > Transfers or use http://imapsync.lamiral.info/