Wordpress common / shared installation - php

I need to create a common installtion of Wordpress which I can then use accross a number of domains.
I have looked into Wordpress Multisite but I can't want to point all the domains to the same hosting account each domain will need to have it's own hosting domain.
To clarify I need to do the following:
Install a wordpress codebase
Use this codebase for any domain of the server without pointing the domain at that hosting account
Be able to update the Wordpress core & plugins only once
Is this possible??
Hosting specs - UNIX hosting, PHP 5+, MYSQL

I don't think you can acheive this requirement:
Use this codebase for any domain of the server without pointing the domain at that hosting account
Without help from the hosting company to implement something like NFS at the OS level.
If the domains will share a wordpress installation, what files remain to be hosted separately?

Related

Implement two php versions on the same ovh ftp

I have a ftp server with two applications in it. But one of these works with php7 and the other with php4. Is it possible to make these two versions cohabit together ? The two applications are totally separated (despite the fact that they are in the same ftp). The applications are hosted on a mutualised ovh server.
Thanks a lot by advance !
With your OVH web hosting account, you can connect multiples domains or subdomains. This feature is called "multisites" into the customer panel.
At the root folder of each multisite, you can setup a different .ovhconfig file with differents configurations. So, you can use php7.0 into one multisite and PHP4.4 in another one.
https://www.ovh.co.uk/g1207.configure-php-web-hosting

On a VPS Server, is there a shared location, accessible to multiple domains?

I've recently purchased a VPS running Centos and cPanel.
I have several domains setup, all with their own individual cPanels. However, I'd like for the websites to be able to access a private, shared folder on the server.
I've written PHP classes that I'd like all the sites to have access to and I don't want to have to upload the files multiple times for individual sites.
Is there a folder where cPanel 1 and cPanel 2 can access whilst existing on the same server? Or could I create one?
Any help would be much appreciated.
Thanks.
The cPanel environment is designed to host websites within individual accounts while keeping their content separate and secure from other cPanel accounts on the same server. While you can configure your server to allow this type of sharing, doing so is not officially supported by cPanel as it circumvents many functions specific to the type of environment cPanel is trying to create.
http://serversitters.com/share-a-folder-between-2-cpanel-accounts-on-a-server.html

Points to be noted before transferring Wordpress Website from Shared hosting to VPS

I have a wordpress website which is hosted on Shared Hosting but I found so many problems in shared hosting as my website is too heavy and the content will regularly get updated and there are so many plugins which I need to use on that website.
Now I have decided to switch my hosting to VPS as I will get 2GB of physical memory with it.
I wanted to know what are the major points which I have to take care of before switching my hosting to VPS
Note: Service Provider are same for VPS.
I believe you have purchased the self managed VPS. Make sure you have following services included with VPS
1) Installation of the cPanel, Plesk or DirectAdmin control panel is done during VPS provisioning. cPanel license is activated.
2) You have ready to go Hosting environment so you do not need to setup/install any additional software at your end.
3) cPanel/WHM firewall is primarily configured for initial security hardening.
4) Operating System is up to date with all security patches applied.
5) PHP, MYSQL Apache versions matched with shared web server and are compatible with your website too.

phishing link placed on shared hosting web pages

This morning I received notification from Google (noreply#gooogle.com) that several of my accounts on my shared Linux hosting reseller account had phishing links placed on them. They were all different hosted domains on the same reseller account. The links had something in common, so were probably placed by the same hacker. All suspicious links looked like this:
example.com/~cp/request/linkd/index.php?userid=aname%40domain.com
I contacted the hosting company about a possible vulnerability on their servers, but I was wondering if these links could have been placed on my accounts due to one of my admin passwords being compromised. I also would like to know where I could find these links and remove them myself. I'm not sure where to track down the /~cp/request/linkd/ Linux directory. Is this related to a cpanel directory? My search of my file system for index.php did not find any suspicious files or directories.
Also, some sites were running WordPress, but are all up to date and hardened installs, and some sites were basic html5 sites (no WordPress).
I think cp user is created on your server and that is the infected USER. I can see mod_userdir is enable on your server and that is the reason they can able to access that infected URL with your domain name (example.com/~cp URL), So please contact your hosting provider and ask them to disable mod_userdir and check that URL again.
This should be addressed by your hosting company. It seems that your hosting server is not configured properly and it allows to access any account using temporary URL using any domain hosted on the server. This is not recommended settings because if one of your accounts is compromised, Google may consider all domains have suspicious code.
You should immediately contact your host to fix this issue. They will have to adjust Apache mod_userdir settings to prevent such issue.

Domain redirection and suspension

I have a site developed in ASP.NET and hosted on a windows server using shared windows hosting account at godaddy.
I developed a replica of my website in php and hosted my php site on a free hosting service (php, linux, mysql) and its working fine. This is on a shared subdomain. Example (mysite.freehostprovider.com)
Now I want to continue using the free hosting service. So I would like my site to be redirected from www.mysite.com to mysite.freehostprovider.com
Since I have not paid for Windows hosting. They have stopped hosting for my site. But my domain is valid till 2010. What do I need to do to see my website go live # www.mysite.com
My free hosting provider supports redirection. I tried but wasn't successful.
Any help will be appreciated.
Thanks
You need to enable forwarding or redirection from your domain registrar. If it is GoDaddy you are using then check out the "Forwarding a Domain" portion of this support article (page 4): http://help.godaddy.com/article/2227
Ideally you would CNAME www.mysite.com to mysite.freehostprovider.com, but a free hosting provider might not let you do that (they'll be using vhosts, so you can't just go ahead and do it).
You should probably give the redirection another go.

Categories