pusatdata

Setting Custom Blogspot SUBDOMAIN + Redirect

Jan 9th, 2019 (edited)
1,135
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.70 KB | None | 0 0
  1. CARA SETTING SUBDOMAIN DI BLOGSPOT
  2.  
  3. ======================================
  4. CARA PERTAMA: TANPA MEMBUAT SUBDOMAIN
  5. ======================================
  6. Misalnya: https://ethejakartapost.blogspot.com >> https://thejakartapost.epaper.id
  7.  
  8. 1. Harus login dan bikin blognya dulu di blogspot, lalu seting pihak ketiga akan muncul:
  9. Bidang Nama, Label, atau Host Bidang Tujuan, Target, atau Mengarah Ke
  10. thejakartapost ghs.google.com
  11. cfjvy3nci2pf gv-utfgbv3rnlheiq.dv.googlehosted.com
  12.  
  13. 2. Baru login Cpanel, masuk DNS Zone
  14. Klik ADD RECORd dan masukkan data nomor satu di atas untuk masing-masing record
  15. record1 >> thejakartapost.epaper.id. 14400 IN CNAME ghs.google.com
  16. record2 >> cfjvy3nci2pf.epaper.id. 14400 IN CNAME gv-utfgbv3rnlheiq.dv.googlehosted.com
  17.  
  18. 3. Terakhir di blogspotnya juga klik SAVE.
  19.  
  20. 4. Perlu sekitar 1x24 jam untuk koneksi sempurna.
  21.  
  22. 5. Jika ingin membuat custom subdomain lagi di akun gmail yang sama, hanya rocord pertama yang ditambahkan. Untuk record2 hanya sekali yang awal saja.
  23.  
  24.  
  25.  
  26.  
  27.  
  28.  
  29.  
  30.  
  31.  
  32.  
  33.  
  34.  
  35. =====================================
  36. CARA KEDUA: MEMBUAT SUBDOMAIN
  37. =====================================
  38. 1. Buat subdomain di cpanel, misal https://thejakartapost.epaper.id
  39.  
  40. 2. Masukkan alamat blog tsb di setelah domain pihat ketiga blogspot
  41.  
  42.  
  43. 3. Akan muncul kode berikut:
  44.  
  45. Bidang Nama, Label, atau Host Bidang Tujuan, Target, atau Mengarah Ke
  46. thejakartapost ghs.google.com
  47. cfjvy3nci2pf gv-utfgbv3rnlheiq.dv.googlehosted.com
  48.  
  49. 4. Cari ZONE EDITOR
  50. cari : thejakartapost.epaper.id. 14400 IN A 69.61.36.100
  51. edit dan ganti menjadi: thejakartapost.epaper.id. 14400 IN CNAME ghs.google.com
  52. SAVE RECORD
  53. jika ada spt ini hapus terlebih dahulu:
  54. thejakartapost.epaper.id. 14400 IN TXT v=spf1 +a +mx +ip4:69.61.36.99 +ip4:69.61.36.100 ~all
  55.  
  56. 5. tambah record baru sbb:
  57. cfjvy3nci2pf.epaper.id. 14400 IN CNAME gv-utfgbv3rnlheiq.dv.googlehosted.com
  58.  
  59. 6. Di root directory subdomain buat file redirect di index.html dengan ini.
  60.  
  61. Tujuannya: agar alamat https://www.thejakartapost.epaper.id selalu mengarah ke https://thejakartapost.epaper.id
  62.  
  63. <!DOCTYPE HTML>
  64. <html lang="en-US">
  65. <head>
  66. <meta charset="UTF-8">
  67. <meta http-equiv="refresh" content="0; url=https://thejakartapost.epaper.id/">
  68. <script type="text/javascript">
  69. window.location.href = "https://thejakartapost.epaper.id/"
  70. </script>
  71. <title>Page Redirection</title>
  72. </head>
  73. <body>
  74. <!-- Note: don't tell people to `click` the link, just tell them that it is a link. -->
  75. If you are not redirected automatically, follow this <a href='https://thejakartapost.epaper.id/'>https://thejakartapost.epaper.id/</a>.
  76. </body>
  77. </html>
Add Comment
Please, Sign In to add comment