If you are using wordpress Mobile Domain plugin, you need to create subdomain first.

Login to your cpanel

Click subdomain

Read this section carefully

Type your subdomain, that will be your mobile subdomain, then point the document root into the “public_html”, public_html is your wordpress installation folder, if you point it to “public_html/m” or “public_html/mobile”, the plugin will not work.

Or if your wordpress address is in the directory “blog”, such as “www.niahidayati.net/blog” then the document root should be like this “public_html/blog” and not like this “public_html/blog/m” or this “public_html/blog/mobile”

Click create.

After you have created a subdomain, login to your wordpress blog. Activate the Mobile Domain plugin then go to the Mobile Domain page setting.

Type your mobile subdomain name, select the theme, click save changes.

Done!

 
60 Responses

“How To Create Mobile Subdomain for Mobile Domain”

  1. as you can see,i have implemented it on my site :)

  2. tizdoyle says:

    Thank for the great plugin, now to make the site…
    thanks
    gary

  3. Navin Poeran says:

    I tried this plugin, but not working.

    I’m getting a 403 error :S

    • Yusuf says:

      If your wordpress installation in the folder public_html/blog, then the path of the document root for your mobile subdomain should be in this folder “public_html/blog”. not in the “public_html”

  4. juancho says:

    How about from mobile to full site? :)

  5. Hi Yusuf,

    Thank you for the plugin. I’m learning about mobile optimization and your plugin came highly recommended.

    Do you have any recommendations for a mobile friendly theme?

    Mtn Jim

  6. Darryl H says:

    Thanks Yusuf,

    I’m really excited to tryout your plugin as this will automate some of my tasks in building mobile sites, I’ve purchase some new mobile templates this could save me alot of time as in installing redirect codes & scripts into my clients new mobile sites.

    Kind Regards,

    Darryl H.

  7. Jianu Florin says:

    Big thanks, worked like a charme, plugin works perfectly, But how to translate this words Desktop Version in Romanian

  8. mamatto says:

    domain mappingnya gmn om, saya sudah add subdomain yg home direktorinya ke /public_html, liat di DNS Zone juga dah sama,

    yang saya gak tau, edit wp-config + .htaccess nya seperti apa ya? mohon pencerahan.

    sekedar informasi, saya pake yang BAAP, isinya (fiturnya) sama aja dengan wordpress mobile pack.

    Regard,

    mamatto.

  9. Yusuf says:

    gak perlu edit wp-config.php, htaccess ataupun domain mapping, cukup buat subdomainnya aja, samakan Document Root Subdomain nya dengan Main Domain WordPress

  10. ewinwap says:

    mksh bnyk gan, plugin nya luar biasa bgt :) . aku newbie dlm hal ini. aku lg coba bikin komunitas pake wordpress mui. situs agan ini tak bookmark dlu, biar bs tanya2 klo bth bantuan..Hehe

  11. mrbambang says:

    Keren idenya. Tapi kelemahannya adalah ketika misal ngeklik link dari twitter utk artikel tertenu, maka tampilan ketika diakses dari hape bukan tampilan mobile, jadi masih tampilan desktop. Mungkin bisa diperbaiki untuk versi selanjutnya :)

  12. mas,kok di website saya engga bisa ya.
    Padahal udah ikutin tutor seperti diatas.
    nih hasilnya.
    m.alltech.web.id

  13. Runh says:

    Hei!
    I can not get the “select mobile theme” to work, does any other have the same problem?
    Another problem I have is that I can only se the page (with the desktop theme, not the one i have choosen for mobile devices) when I write http://www.m.maudreturnshome.no, but get an 500 Internal Server Error if I try m.maudreturnshome.no

  14. Runh says:

    ..I`ve fixed it .. in my remote controlpanel I checked “no redirect” to my public html.

  15. adriana says:

    I am using force www redirect in my domain,

    RewriteEngine On
    RewriteCond %{HTTP_HOST} !^www\.example\.org$ [NC]
    RewriteRule ^(.*)$ http://www.example.org/$1 [R=301,L]

    my mobile domain is m.example.org, this plugin is giving me redirect loop if I access the site on mobile browser.

  16. arifbolang says:

    i will try to my website

    thanks nuhun pisan

  17. Emmanuel says:

    THANK F*****G GOD!!! I have been looking for this information everywhere on the internet with no avail, but alas you’ve answered my question.

    Although thinking about it now, it is only common sense to make the subdomain point to the root of your domain and for that I *facepalm, however a million thanks!

  18. Bhre Vidjaja says:

    Selamat pagi,

    Saya barusan pasang mobile domain plugin v.1.4.2 di blog saya. Ada kolom “mobile ad”, kalau boleh tahu ads tersebut ukuran berapa ya mas?
    Makasih banyak….

    Semoga makin sukses

    • Yusuf says:

      mungkin script adsense akan menyesuaikan jenis dan ukuran iklannya dari jenis browser yang dipakai, yang pasti iklan yang dimasukin harus iklan untuk versi mobile.

  19. lirik lagu says:

    mas sekalian dong themenya kayak punya m.yusuf.asia ngarep :D

  20. Saya sudah install plugin anda dan mengikuti semua petunjuk yg ada, namun sewaktu saya mencoba browsing dr handphone tidak berjalan dgn baik.

    Knp ya mas yusuf?

    Tampilan yg ada jadi hanya : “Index of /”

    Tidak ada tampilan apapun.

    Ini versi mobile dr website saya: mobile.novanprihasa.net

    Mohon petunjuknya.

    Terima kasih..

    • Yusuf says:

      kalo ada tulisan “index of” berarti document root untuk subdomain versi mobilenya ditempatkan di folder lain, padahal seharusnya ada di folder wordpress itu sendiri, coba deh buat subdomain lain untuk tes dan rubah document rootnya ke directori wordpress.

  21. Josh says:

    I’d like to redirect my mobile users to a different home page than my desktop site uses. Can your plugin do this?

  22. Pete says:

    How does it work in Plesk panel? I can’t define a document root, can I?

  23. Zaher says:

    Hello Yusuf
    1- After install it and make subdomain, I get error page,
    I make correct Document Root
    2- XML sitemap file was created in the root folder not in the subfolder (m)

  24. Yusuf says:

    what is the error message?

  25. jus says:

    hi,

    I have followed the instructions, created a subdomain in cPanel and set it in the settings. When I navigate on my phone to my web address the theme doesnt switch to my mobile theme. any suggestions?

  26. Irvan says:

    mau tnya gan, biasa’y berapa lama sub domain bisa aktif ?
    atau DNS sub domain’y harus kita set ulang ?
    mslah’y di ane, server not found trus…
    http://mini.und3rw0rld.info
    mohon bantuannya gan….:D

  27. isnu says:

    om di 000 webhost gk ada settingan untuk ubah root sub domain ke public_html ~_~

  28. Gazeta says:

    I used it in my website, but dont see any change when ai enter from mobile, with m.mapo.al… ?

  29. Heriyanto says:

    Apakah plugin ini compatible dengan W3 Total Cache?

  30. Prithvi says:

    Awesome.. I just used it on my website and it worked really well.. thanks for sharing

  31. julian says:

    Error terus mas… boleh di bantu cara mengatasinya??

    Forbidden

    You don’t have permission to access / on this server.

    Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request.

  32. kalo di blogspot gk bisa ya mas ?

  33. Dioni says:

    mas, ini masalahnya saya sudah membuat sub domain m.runefactory2.co.cc tetapi masalahnya gk isa rubah direktorinya mlh jadi public_html/m gimn y?? ngatasi hal ini?

  34. Ulum says:

    Terimakasih informasinya Mas Yusuf.. bookmark dulu deh..

  35. RajTamil says:

    Hi,

    I have 404 Error Message, I Need Your Help

  36. Triyas says:

    Makasih pluginnya.untuk themenya apa bisa menyesuaikan?

  37. katak says:

    mas, dapat error 500 bila pergi ke m.backpackers.my/welcome
    bila m.backpackers.my ok aja.

    gi mana ya? makaseh dong!

  38. Renji says:

    I have created a subdomain as per your instruction, but when I visit the mobile domain I am redirected to the main domain. You can see it here: http://m.sumtips.com

    How to fix this?

  39. jose says:

    I have distinct database for mobile site. Is it work for it and how i set up document root for that

  40. Hujan says:

    Awalnya waktu saya coba, berhasil. Tapi karena ada masalah, maka subdomain di cpanel saya hapus, lalu mobile domainnya diuninstall. Nah, setelah itu saya coba lagi membuat m.namadomain.com, dan menginstall mobile domain, tapi malah error. Katanya Could not locate remote server. Terpaksa saya ganti m.namadomain.com menjadi mb.namadomain.com. Sekarang sudah bisa, tapi sayang sekali krn m.namadomain.com itu lebih keren. Gimana cara agar url mobile saya kembali lagi menjadi m.namadomain.com? Mohon petunjuknya. :)

Leave a Reply

How To Create Mobile Subdomain for Mobile Domain

Plugin by Yusuf
WhiteHouse by PageLines