Recent Posts

Pages: [1] 2 3 ... 10
1
General / Re: Update Log
« Last post by earnolmartin on December 01, 2018, 06:34:59 pm »
Minor update released.
2
Technical Help / Re: Configure my own Nameserver
« Last post by earnolmartin on November 19, 2018, 08:51:28 pm »
Ok, so add "ns1.spotiads.net" and "ns2.spotiads.net" as domains to your panel.  Configure the site for one of the domains, and then redirect the other to it (all configurable in the panel).
3
Technical Help / Re: Configure my own Nameserver
« Last post by minoir on November 16, 2018, 06:07:16 pm »
My hosting I have it under IP 18.219.141.113, even if you enter sends you to the EHCP screen
Use this post as a guide http://ehcp.net/?q=node/1042

I want you to be able to write ns1.spotiads.net and ns2.spotiads.net when you set up a domain and show a site that you created using EHCP Force
Normally I have added an A record and I place the IP, but I have encountered situations where that does not work
4
Technical Help / Re: Configure my own Nameserver
« Last post by earnolmartin on November 16, 2018, 05:40:12 pm »
Looks fine to me.  As long as 18.219.141.113 is your EHCP server, and you've added "spotiads.net" as a domain in the panel on 18.219.141.113, other domains should be able to use ns1.spotiads.net and ns2.spotiads.net as name servers.

Is this the way you've set it up?  It's not working for you?  What exactly are you trying to do?
5
Technical Help / Configure my own Nameserver
« Last post by minoir on November 13, 2018, 02:18:21 pm »
Try to make my own nameservers under the spotiads.net domain
I use AWS as hosting, with ubuntu server. I attach captures as I have configured.
Could I be missing some configuration?

i'm testing with domain spotiads.tk

https://drive.google.com/drive/folders/1y8DRbmDHLWLN2v0kR7i2Hdm7kb1-uaoy?usp=sharing
6
General / Re: Update Log
« Last post by earnolmartin on September 22, 2018, 05:05:29 pm »
Minor update released.
7
Technical Help / Re: PHP in html file config please
« Last post by earnolmartin on September 10, 2018, 04:23:59 pm »
Awesome, glad it worked.  Let me know if you run into any issues as a result of updating to the latest dev version.  These features will be released to the stable build soon.

You can always change the order of which page should load by default when a specific page hasn't been requested (usually the index file).  That also appears in the subdomain or domain templates.  You can re-order which index page loads by default and has a higher priority than the others (index.html vs index.php).  Just search for index.html in the custom template, and you should see the lines I'm talking about.

Thanks for testing it out.
8
Technical Help / Re: PHP in html file config please
« Last post by whiterabbitz on September 10, 2018, 03:17:05 pm »
You are a star!

Works .. with a small caveat.

Being a long term cynic.. been in IT too long.

1) Remove the pseudo  subdomain  devel.mydomain.com

2) Ran update

3) Added new subdomain devel.mydomain,com

4) Tested devel.mydomain,com - Ok

5) Modified index.php in devel.mydomain.com to make sure i was looking at the right file - all good

6) Made the modes - template and /etc/php/7.0/fpm/pool.d/www.conf

7) Re-tested devel.mydomain.com - file not found

8) Re Re tested devel.mydomain,com/index.php - ok

9) added index.html in devel.mydomain.com

10) and tested devel.mydomain.com  - ok showed content of index.html

11) Added <?php phpinfo(); ?>  to index.html - Worked like a charm!!

So Only issue - which I can live with, is that the .html is the default extension and .php must be specified.

Not a problem for this site

Thanks again



9
Technical Help / Re: PHP in html file config please
« Last post by earnolmartin on September 10, 2018, 12:58:53 pm »
Actually, could you please try updating your panel to the latest dev SVN version (instructions here http://ehcpforce.tk/download.php#svn-version) and use the new custom subdomain web server template functionality?

After you've updated your panel, logout and login as admin, then select the domain you want to add a subdomain to (in your case "mydomain.com"), click on "Add Subdomain".  Add the "devel" subdomain.  Go back to the main domain management screen for "mydomain.com".  Click on "List Subdomains".  Click on the "Edit Template" icon for the "devel" subdomain. 

Replace the ProxyPassMatch lines with the following:

Code: [Select]
ProxyPassMatch ^(.*\.(php|html))$ fcgi://127.0.0.1:9000{homedir}/$1

Click on the "Save Template" button.

Now, make sure you follow the instructions I posted above to get php-fpm to process .html files.  It should work this way now too, and we now have custom subdomain template functionality (assuming I coded the functionality correctly, which from my initial testing, I hopefully did).
10
Technical Help / Re: PHP in html file config please
« Last post by whiterabbitz on September 10, 2018, 12:17:28 am »
Hi,

Thanks so much for that.

I will give it a try tomorrow and let you know the results.

WR
Pages: [1] 2 3 ... 10