logo
Apache Lounge
Webmasters

 


About

Forum Index Downloads Search Register Log in  RSS Apache Lounge
 



Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Apache Lounge is not sponsored.

Your donations will help to keep this site alive and well, and continuing building binaries.



ownCloud configuration with domain name

 
Post new topic   Reply to topic    Apache Forum Index -> Apache



View previous topic :: View next topic  
Author Message
ors



Joined: 02 Apr 2016
Posts: 2
Location: Switzerland, Geneva

PostPosted: Sat 02 Apr '16 12:05    Post subject: ownCloud configuration with domain name Reply with quote

Hello,

My ownCloud works well with the ip address. However, I am unable to change the configuration so I can use my domain name.

The result of apache2ctl -S :

Code:
VirtualHost configuration:
*:80                   is a NameVirtualHost
         default server name.ddns.net (/etc/apache2/conf-enabled/owncloud.conf:1)
         port 80 namevhost name.ddns.net (/etc/apache2/conf-enabled/owncloud.conf:1)
         port 80 namevhost localhost (/etc/apache2/sites-enabled/000-default.conf:1)
*:443                  is a NameVirtualHost
         default server name.ddns.net (/etc/apache2/conf-enabled/owncloud.conf:8)
         port 443 namevhost name.ddns.net (/etc/apache2/conf-enabled/owncloud.conf:8)
         port 443 namevhost name.ddns.net (/etc/apache2/sites-enabled/default-ssl.conf:2)
                 alias www.name.ddns.net
ServerRoot: "/etc/apache2"
Main DocumentRoot: "/var/www"
Main ErrorLog: "/var/log/apache2/error.log"
Mutex watchdog-callback: using_defaults
Mutex rewrite-map: using_defaults
Mutex ssl-stapling: using_defaults
Mutex ssl-cache: using_defaults
Mutex default: dir="/var/lock/apache2" mechanism=fcntl
Mutex mpm-accept: using_defaults
PidFile: "/var/run/apache2/apache2.pid"
Define: DUMP_VHOSTS
Define: DUMP_RUN_CFG
User: name="www-data" id=33 not_used
Group: name="www-data" id=33 not_used


I cannot figure out where the problem is. Could someone, please, direct me how to change the config files.

Thanks
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 6255
Location: Germany, Next to Hamburg

PostPosted: Mon 04 Apr '16 11:55    Post subject: Reply with quote

Please post the content of /etc/apache2/conf-enabled/owncloud.conf at

http://apaste.info/ or http://pastebin.com/
Back to top
ors



Joined: 02 Apr 2016
Posts: 2
Location: Switzerland, Geneva

PostPosted: Mon 04 Apr '16 13:44    Post subject: Reply with quote

In the /etc/apache2/conf-enabled/ folder I only have shortcuts, so the owncloud.conf file is located in /etc/apache2/conf-available/

owncloud.conf
http://pastebin.com/hCH0w58d

Thanks
Back to top


Post new topic   Reply to topic    Apache Forum Index -> Apache
Page 1 of 1