The big Question

Started by pixelpadre, February 12, 2020, 10:23:12 PM

Previous topic - Next topic

pixelpadre

I am not asking anyone to change suit my needs.  I overcame the problem by simply using a fake domain (stupidfakedomain.com) that I do not own for the default user domain.  Then the public_html will never have any files.

There is no logical reason why creating an addon domain also creates an addon directory, but default domain does not get its own directory under the public_html directory.  Like you said, they all do it.  Its not a big problem, but its just chaotic when i explore my main domain and see all these other addon folders sorted alphabetically amongst my default domain files and folders.




rcschaff

Just out of curiosity, did you try creating add-on domains ../addondomain .   I don't use add-ons, so don't test it.
Google Hangouts:  rcschaff82@gmail.com

pixelpadre

Just out of curiosity, hows come you have a photo and I dont.

rcschaff

Google Hangouts:  rcschaff82@gmail.com

pixelpadre


rcschaff

Nope, Mad skills.  Cause my pictures my own, not a celeb.
Google Hangouts:  rcschaff82@gmail.com

pixelpadre


~Q~

Good to know. Thank you.

Quote from: rcschaff on February 13, 2020, 01:26:54 AM
Simple workaround.  Create an account with the domain localhost.localdomain.  << DOesn't server anything.  Addon domains now got to /public_html/mydomainname.com

Now public_html doesn't have to server any website.

Of course you could always create your own template for apache/nginx
Location of the files: /usr/local/cwpsrv/htdocs/resources/conf/web_servers/ | http templates = .tpl | https templates = .stpl |

Create a new template that points your main domain to public_html/(domian), and use that template for your website.   Custom templates will not get overwritten.