Changes

From Amahi Wiki
Jump to: navigation, search
1,007 bytes added ,  23:33, 3 September 2016
[[Category:Apps]]
=== Multiple Domains for one site ===
:Supposed you own a domain (e.g myblog.info) and you have a way to update dns servers with your IP case you are dynamic (majority of home users) then you can do also the following:
:'''Step 1'''
::find
::{| style="width: 90%" cellspacing="0" border="1"!style="color:#333333; background-color:#A9B8C2;height: 20px"|Code|-!style="color:green;"|<codepre>ServerAlias wordpress.yourhomedomain</codepre>|}
::add this line right after
::{| style="width: 90%" cellspacing="0" border="1"!style="color:#333333; background-color:#A9B8C2;height: 20px"|Code|-!style="color:green;"|<codepre>ServerAlias myblog.info</codepre>|}
:'''Step 2'''
:install to your wordpress the plugin called Domain Mirror. Set up as admin your domains.
This way wordpress always replays with the correct domain. All links from dashboard work without problems.
 
'''Related articles:'''
 
[[Hosting_a_website|Hosting a Website]]
----
 
=== DropBox as Image Host ===
If you used Multiple Domains means that you want your wordpress available to Internet.
Images needs bandwidth and using lots of them crate problems when you host a site in a home server.
 
By using this how to for [https://www.digitalocean.com/community/tutorials/how-to-install-dropbox-client-as-a-service-on-centos-7 headless Dropbox Client] at the end you have a share in your network \\hda.yourdomain\Dropbox\.
 
There is a [[WordPress]] plugin available called [[http://wordpress.org/extend/plugins/dropbox-sync/ Dropbox]]. This plugin will allow you to remotely host your images on dropbox. This will improve loading times and decrease bandwidth useage on your server!
 
Setup is very easy.
[[File:Wp+db1.png]]
 
After syncing all images will be in \Dropbox\Public\uploads\year\month
 
=== DropBox as file upload===
Again first step includes the [https://www.digitalocean.com/community/tutorials/how-to-install-dropbox-client-as-a-service-on-centos-7 headless Dropbox Client] HowTo.
 
The wordpress plugin called [http://wordpress.org/extend/plugins/dropbox-upload-form/ Dropbox Upload Form].
 
This plugin lets you insert an upload form on your pages so visitors can upload files to a Dropbox account.
12,424

edits