Jump to content

Changing Default Site in Swag


Recommended Posts

Hello, I have an UnRAID server and have successfully setup several subdomain applications that I use. (cloud.domain.com, ombi.domain.com)


Currently when you go to "domain.com" I have a very simple webpage with links that direct to the subdomain applications.


But I want to change the default site to a Wordpress instance. I can install Wordpress with no issues to answer on another subdomain, but I don't want that.


I have found a file in /appdata/swag/nginx/site-confs/default

and there is a section that reads:


    root /config/www;
    index index.html index.htm index.php;

I understand that I can edit the root 'www' folder, but the way I understand it, is that it would have to within the "swag" folder. Is there a way to go up one directory, and create a 'Wordpress' folder??


This seems like it would be easy, but I'm missing something.


Just a while ago I installed Wordpress, but I installed it within the /www/ in swag, and got database connection issues. I'm not sure if there were conflicts with more than one docker container using that directory, or if it was my fault.


Any advice would be helpful, thank ya'll so much!!



Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...