How to use another domain to use the Netxcloud


#1

Hi,
I have 3 domains inside one MIAB box, a primary and 2 secondaries (from mail alias).

I can access Nextcloud using primary.com/ocloud but I can’t by using secondary1.com/ocloud and secondary2.com/ocloud.

is this doable or shall I need to ‘temper’ the Apache settings?

Thanks in advance.
JG


#2

As the aliases are just that, aliases you cannot use them to access any part of MiaB.

You would need to actually create the users as users, not aliases.

If you have the aliases for the purpose of having all the email hit one inbox, you can still do this by creating aliases AFTER the users are set up. If you do this, you will want to log in occasionally and delete the email of the ‘aliased’ user so that it does not unnecessarily use storage space.


#3

Hi and thanks for the reply.
Email users are created, and I can access the web site from the url https:/secondary1.com but not the /ocloud part of it. Only the https://pramary.com/ocloud .

My question is actually how to be able to access thru the https://secandary1.com/ocloud url.
Thanks in advance.
Regards.
JG


#4

I am sorry - I misread your OP. I don’t have an answer for you as I do not actively use NextCloud.


#5

Hi and thanks anyway, maybe someone else could.
Regards.
JG


#6

All domains added to MIAB have access to domain/webmail but not domain/cloud, this is an issue lol.


#7

For now, make a new folder in secondary1.com called “cloud” and add the following to a file in that folder called index.html:

<html>
    <head>
        <meta http-equiv="refresh" content="0; URL='https://primary.com/cloud/'" />
    </head>
</html>

This will redirect the cloud dir from secondary1 to primary. It should do what you need for now until someone comes up with a mod (unsupported btw).


#8

Thank you for your reply.
Yes, but the idea was in fact use the URL https://secondary1.com/cloud .

I’m testing to see if I can use MIAB as ‘all-in-one’ system for several domains, allowing email, web hosting and collaboration.
I know, there are several ones that can do this, but not as simple as the MIAB does.
Keep it simple is my mote.
Regards.
JG


#9

You could probably do something like:

  • Make folder cloud in secondary1.com
    Then:
<html>
    <head>
    </head>
    <body>
        <iframe src="https://primary.com/cloud" style="width:100vh;height:100vh"></iframe>
    </body>
</html>

Or something like that. This will make it look like secondary1/cloud is actually on that domain.


#10

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.