MRatWork Forum by Mustafa Ramadhan - custom.domain.conf di nginx tidak berfungsi

Sponsor:
Server and Web Integrator
Link:
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:

MRatWork Forum | Please login or register. | 2017-11-08, 00:08:19

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- custom.domain.conf di nginx tidak berfungsi

« previous next »

- Print

Pages: [1] 2 Go Down

### Author Topic: custom.domain.conf di nginx tidak berfungsi (Read 3597 times)

0 Members and 1 Guest are viewing this topic.

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### custom.domain.conf di nginx tidak berfungsi

« on: 2015-05-02, 12:18:50 »
Quote

> A. Kloxo-MR: 7.0.0.b-2015043001
> B. OS: CentOS release 6.6 (Final) x86_64
> C. Apps:
> 1. MySQL: MariaDB-server-10.0.17-1.el6.x86_64
> 2. PHP: php54-5.4.40-1.ius.el6.x86_64
> 3. Httpd: --uninstalled--
> 4. Lighttpd: --uninstalled--
> 5. Hiawatha: hiawatha-9.12.0-f.4.mr.el6.x86_64 (also as webserver)
> 6. Nginx: nginx-1.6.2-0.6.pagespeed.1.9.32.3.el6.x86_64
> 7. Cache: --uninstalled--
> 8. Dns: nsd-4.1.2-1.mr.el6.x86_64
> 9. Qmail: qmail-toaster-1.03-1.3.53.mr.el6.x86_64
> - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.x86_64
> D. Php-type (for Httpd/proxy): php-fpm_event
> E. Memory:
> total used free shared buffers cached
> Mem: 2048 423 1624 128 0 225
> -/+ buffers/cache: 198 1849
> Swap: 0 0 0

pak, saya coba rubah config di /opt/configs/nginx/conf/domains/domain.conf dengan mengkopi menjadi custom.domain.conf
tetapi ketika nginx direstart muncul error duplicat parameter.
Quote

> nginx: [warn] conflicting server name "cp.domain.com" on 0.0.0.0:80, ignored
> nginx: [warn] conflicting server name "webmail.domain.com" on 0.0.0.0:80, ignored
> nginx: [warn] conflicting server name "domain.com" on 0.0.0.0:80, ignored
> nginx: [warn] conflicting server name "www.domain.com" on 0.0.0.0:80, ignored
> nginx: [warn] conflicting server name "mail.domain.com" on 0.0.0.0:80, ignored
> nginx: [warn] conflicting server name "cp.domain.com" on 0.0.0.0:443, ignored
> nginx: [warn] conflicting server name "webmail.domain.com" on 0.0.0.0:443, ignored
> nginx: [warn] conflicting server name "domain.com" on 0.0.0.0:443, ignored
> nginx: [warn] conflicting server name "www.domain.com" on 0.0.0.0:443, ignored
> nginx: [warn] conflicting server name "mail.domain.com" on 0.0.0.0:443, ignored

ketika salah satu conf dihapus baik domain.conf atau custom.domain.conf restart nginx normal
apa saya ada yang salah pak?
Logged
belajar yang banyak, masih goblok soalnya...

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #1 on: 2015-05-02, 12:53:19 »
Ya jelas tidak bisa karena semua file di directory defaults dan domains akan dibaca. Apa yang akan diubah kok sampai perlu disalin ke custom?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #2 on: 2015-05-02, 14:23:50 »
kirain masih system template based pak, supaya jika fixweb tidak ke replace
solusinya bagaimana pak jika ingin rubah config per domain tapi tidak kembali ke awal jika fixweb
mau nambahin rewrite domain
Logged
belajar yang banyak, masih goblok soalnya...

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #3 on: 2015-05-02, 14:28:18 »
Anda pakai webserver apa?. Jika apache dan proxy maka diisi di .htaccess di website document root (biasanya di '/home/<user>/<domain>').
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #4 on: 2015-05-02, 14:33:34 »
itu saya tampilkan sysinfonya pak, saya cuma pakai nginx
mau tambahin
Quote

> pagespeed MapRewriteDomain cdn.domain.com domain.com;

karena mau dipakai hanya domain tertentu saja pak
Logged
belajar yang banyak, masih goblok soalnya...

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #5 on: 2015-05-02, 14:44:27 »
Copy-kan saja '/opt/configs/nginx/conf/globals/switch_standard.conf' ke '/opt/configs/nginx/conf/globals/domain.com.conf' (ganti 'domain.com' ke nama domain anda) dan sesuaikan isi domain.com.conf tersebut. Jangan lupa jalankan 'sh /script/fixweb; sh /script/restart-web -y' setelah disesuaikan
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #6 on: 2015-05-03, 01:52:41 »
ok pak terimakasih
Logged
belajar yang banyak, masih goblok soalnya...

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #7 on: 2015-05-15, 16:41:14 »
ada yang belum saya report pak, waktu add domain
masalah pada waktu add ns3 ns4 dst muncul lagi, sekarang setelah update yang hari ini juga begitu.
s
__base__.domain.com. IN NS ns3.domain.com.
Logged
belajar yang banyak, masih goblok soalnya...

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #8 on: 2015-05-15, 16:47:01 »
Coba perbaiki (atau buat baru) dns template-nya dan kemudian rebuild pakai dns template ini.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #9 on: 2015-05-15, 17:03:32 »
masih begitu juga pak, yang bermasalah cuma ns3, ns4, dst saja
1. template baru new.dnst > rebuild > masih error
2. template baru new.dnst > rebuild > sh fixdns > masih error
Logged
belajar yang banyak, masih goblok soalnya...

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #10 on: 2015-05-15, 17:11:07 »
Apa yang anda isi pada template baru dan juga apakah isian ns3 dan ns4 pada manage dns sudah dihapus?.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #11 on: 2015-05-15, 17:52:10 »
isian di template baru cuma nambahin ns, sama A (ns) saja pak
Quote

> __base__ NS - ns1.new.dnst
> __base__ NS - ns2.new.dnst
> __base__ NS - ns3.new.dnst
> __base__ NS - ns4.new.dnst
> __base__ NS - ns5.new.dnst
> __base__ NS - ns6.new.dnst

sudah saya coba hapus di masternya, tapi setelah rebuild yang muncul itu lagi
Logged
belajar yang banyak, masih goblok soalnya...

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #12 on: 2015-05-15, 18:04:10 »
Tunggu saja update 1-2 jam lagi.
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

#### opotoiki

- Senior Member
- Posts: 151
- Karma: +0/-0

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #13 on: 2015-05-16, 00:52:12 »
setelah update jika pakai nginx file confnya error pak, saya edit manual biar jalan
Quote

> nginx: [emerg] unknown directive "fastcgi_request_buffering" in /opt/configs/nginx/conf/globals/switch_standard.conf:25
> nginx: configuration file /etc/nginx/nginx.conf test failed

Logged
belajar yang banyak, masih goblok soalnya...

#### MRatWork

- Administrator
- The Elite
- Posts: 15,381
- Karma: +112/-9
- Gender:

##### Re: custom.domain.conf di nginx tidak berfungsi

« Reply #14 on: 2015-05-16, 01:24:23 »
Kok aneh?. Kan directive itu ada di nginx.
Coba infokan 'yum list nginx* tengine*'.
« Last Edit: 2015-05-16, 01:56:01 by MRatWork »
Logged
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

- Print

Pages: [1] 2 Go Up
« previous next »

- MRatWork Forum by Mustafa Ramadhan »
- Language Specific Discussions »
- Indonesia Users »
- custom.domain.conf di nginx tidak berfungsi

MRatWork Affiliates: BIGRAF(R) Inc. House of LMAR EFARgrafix

- Design By SMFSimple.com
- SMF 2.0.14 | SMF © 2017, Simple Machines

Page created in 0.042 seconds with 17 queries.

Mirror created by MasterkinG32.CoM