Try the fastest and simplest way to install ONLYOFFICE

only IP works in nextcloud no dns

Issues during installation, usage and configuring

only IP works in nextcloud no dns

Postby Ruediger » Thu Apr 06, 2017 12:49 pm

Hello all,

I ran nextcloud server and onyloffice server on two different centos 7 VM server.
Versioninfo:
Nextcloud 11.0.2 (stable)
Document Server v.4.3
Centos 7 kernel 3.10.0-514.10.2.el7.x86_64

I setup DNS / aliases / HOST (A) locally in my DNS Server and also on my ISP an DNS Name with an external official IP for both Server like Cloud.domain.de and Office.domain.de.

If I configure the nextcloud option for OnylOffice Server with https://IP it works internally wonderful (see attachment Setting for short info - IP_OK.jpg),
now I like to go with DNS like https://office.domain.de it doesen' t work internal as well from extern. (attachment DNS_NOT.jpg)

Ping - nslookup works fine with IP as well with DNS and also with aliases internally. All neede ports service are open in the firewall setting in centos as well in my firewall's.

From external my nextcloud server is already reachable, too, but no onlyoffice.

Any Suggestion would be fine!
Attachments
DNS_NOT.jpg
DNS_NOT
DNS_NOT.jpg (23.8 KiB) Viewed 598 times
IP_OK.jpg
IP_OK
IP_OK.jpg (30.69 KiB) Viewed 598 times
Ruediger
 
Posts: 3
Joined: Thu Apr 06, 2017 11:31 am

Re: only IP works in nextcloud no dns

Postby Maxim » Thu Apr 06, 2017 2:37 pm

Hello Ruediger!
Yes you're right! DNS doesn't resolve in Document Server. You should configure your network.
Maxim
 
Posts: 1162
Joined: Tue Oct 11, 2016 2:34 pm

Re: only IP works in nextcloud no dns

Postby Ruediger » Fri Apr 07, 2017 5:49 am

Hi,

sorry in most of every documentation you should setup in nextcloud OnlyOffice setting an DNS entry, this is needed to work because I need to
get this externally too!

From internal I could browse the welcome page of the OnlyOffice Document, see attached.
Attachments
onlyoffice_website.jpg
onlyoffice_website.jpg (40.07 KiB) Viewed 590 times
Ruediger
 
Posts: 3
Joined: Thu Apr 06, 2017 11:31 am

Re: only IP works in nextcloud no dns

Postby jakobssystems » Sat May 06, 2017 8:58 pm

Well I can't confirm this. I have similar setup:

Firewall with Port Forwarding 443 to Host A

Host A = https://cloud.domain.com
- Nextcloud on Apache
- Reverse Proxy to internal Host

Host B = https://office.domain.com
- OnlyOffice

works fine for me. Every Host is accesible from inside and outside.
jakobssystems
 
Posts: 20
Joined: Mon May 01, 2017 7:09 am

Re: only IP works in nextcloud no dns

Postby Ruediger » Mon May 08, 2017 7:14 am

Hello,

thanks for information, could you let me know how to configure the Apache reverse proxy in the nextcloud server?

This step I do not have there.
Ruediger
 
Posts: 3
Joined: Thu Apr 06, 2017 11:31 am

Re: only IP works in nextcloud no dns

Postby jakobssystems » Thu May 25, 2017 6:07 am

Ruediger wrote:Hello,

thanks for information, could you let me know how to configure the Apache reverse proxy in the nextcloud server?

This step I do not have there.


ProxyPass / https://192.168.0.103/
ProxyPassReverse / https://192.168.0.103/

Add this in your config file. You'll need to add a self-signed cert on your Only Office and you have to disable Cert Checks on that too. There is a superb documentation on OnlyOffice Website somewhere I do not have the link anymore. Maybe sombody else could provide this?
jakobssystems
 
Posts: 20
Joined: Mon May 01, 2017 7:09 am


Return to ownCloud/Nextcloud ONLYOFFICE integration app

Who is online

Users browsing this forum: No registered users and 1 guest