Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - tonysar

Pages: [1]
1
CentOS-WebPanel GUI / what is purpose of Add a New Domain function
« on: December 15, 2017, 12:49:30 AM »
Hello.
in centos web panel. to create a new domain , we have to create new user account which will add the domain for that user as well.
but what is the reason for Add a New Domain in Domain tool set ?
is that for any other domain for same user other then the was created in New user Account ?
why first domain never gets listed in List Domain section ?

any thoughts ?
Thanks

2
DNS Manager / How to use Free DNS manager on VPS
« on: December 15, 2017, 12:26:27 AM »
Hello.
after many trial and errors ( mostly errors ) i decided reconfigure my vps and thus use free dns since i only have one ip address.
I registered a domain from godaddy. ( should have registered with centOs ). used centOs nameserver in godaddy.
in free dns manager , Created a zone file for my VPS host name . in Centos web panel , use centos name servers in Edit Name server ips. and two name server zone been created in my dns zone list.

now , if i create new user , this will automatically create zone file in my DNS server with proper info.
do i need to use free dns manager to create the zone for new Domain of the user ? or free dns manger for my vps only needs to have a record of my VPS host name ?

i hope i explained thing properly

3
PHP / How to install php 7.x
« on: December 11, 2017, 09:36:58 PM »
totally new to linux stuff, i have done all i can from scanning the web and having my vps working . sadly the php switcher is not working and i need to switch php to higher then current version to upgrade my magento 2 .. so how can i install php 7.x and what should i do after has been installed
Tanks

4
Apache / magento and apache document root issue
« on: December 11, 2017, 09:05:32 PM »
Hello.
vps running centos linux , with centos web panel.
Moved my Magento 2 site from shared hosting to vps .. everything seems to be working except Web setup wizard in admin.
after countless search and reading about the issue , suggestion is that , magento is being served from /pub folder , and setup wizard wont work because this is the intended behaviour. solution is to point apache document root to root installation of magento.
looking at apache config file .. is see this

DocumentRoot "/usr/local/apache/htdocs"
<Directory "/usr/local/apache/htdocs">
    #
    # Possible values for the Options directive are "None", "All",
    # or any combination of:
    #   Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
    #
    # Note that "MultiViews" must be named *explicitly* --- "Options All"
    # doesn't give it to you.
    #
    # The Options directive is both complicated and important.  Please see
    # http://httpd.apache.org/docs/2.4/mod/core.html#options
    # for more information.
    #
    Options Indexes FollowSymLinks

    #
    # AllowOverride controls what directives may be placed in .htaccess files.
    # It can be "All", "None", or any combination of the keywords:
    #   AllowOverride FileInfo AuthConfig Limit
    #
    AllowOverride All

    #
    # Controls who can get stuff from this server.
    #
    Require all granted
</Directory>

as it states , DocumentRoot: The directory out of which you will serve your
 documents. By default, all requests are taken from this directory.

however, all my documents are located in /home/USERNAME/public_html/
so this is a bit confusing ..
Magento installed in public_html as a root installation . so question is , how can i change document root from /pub to / from within apache config?
Thanks.

5
Apache / Symlink problem?
« on: December 11, 2017, 03:04:16 AM »
Hello.
im trying to make my Magento site work .. is has been moved from another host to new VPS..
My front page loads but every other links including admin display 404 file not found. after researching the net , it seems to be issue with symlink.
as per requested , added Options FollowSymLinks inside <Direcotry></Direcotry> in my Vhost and rebooted the server , and still not working .
vhost section looks like this
<Directory "/home/USERNAME/public_html">
Options FollowSymLinks
        AllowOverride All
</Directory>
I am totally at lost and have no other ideas at where to look . I hope someone can help me out  thanks

6
PHP / PHP Switcher not Switching?
« on: December 11, 2017, 12:31:07 AM »
Hello.
i have latest CWP installed on Centos linux VPS .. need to have PHP 7 for my magento .. i used the switcher , gone through the compile and still i see same old php version on the dash ..

i found this control panel exhausting..maybe some one can recommend a panel that i can install on centos vps that is free and actually works ?

7
MySQL / PhpMyadmin 504 Gateway Time out
« on: December 10, 2017, 06:01:34 PM »
Hello.
VPS.
CentOs Web Panel ( latest version ) installed 2 days go.
CentOs linux version 6xx
During Database Import , I keep getting 504 Gate Way time out.
I can see my database has been populated with tables , but due to time out , tables are incomplete.
I searched the net for all regarding this issue and i have set time limits , file size limits , etc that i could find . but i still getting same issue .
Import file size is less then 2 Meg so I have no idea why i get this error .

any suggestion ?

8
CentOS-WebPanel Bugs / notice Undefined offset zone editor
« on: December 10, 2017, 01:30:07 AM »
Hello. im new to CWP..
i been working with this panel since yesterday that i installed on my VPS .. i just noticed this Notice
Notice: Undefined offset:3 in /usr/local/cwpsrv/htdocs/resources/admin/modules/zone_editor.php on line 0
when i choose Edit records button.
This notice dose appear for some records but not all records are effected ...
When i Open the effected records in Edit record mode. i noticed empty end of line .if i just click delete and move to the end of last line of text and save , the issue goes away .. but when i load the zone , i get a notice during loading that missing end of line. this just issue just appeared out of no where .. did not have this problem before nor did i touch any files.
there zones like named.ca named.loopback and named.empty that generate more notice and error when opened in Edit record mode.


9
Informations / How to configure VPS ?
« on: December 09, 2017, 06:49:38 PM »
Hello everyone.
I am new to VPS and CentOs web panel,I believe , i have done all i can to setup my server, however, there remains an issue with DNS. so i am going to list all the steps i took.( domain name is not real )

Ordered VPS linux .
Hostname : vps.mydomain.com
ns1:ns1.mydomain.com
ns2:ns2.mydomain.com
Loged into vsp control panel and everything runs ok ..

using SSH , i installed Centos web panel. running OK :)
loged in using root to configure Web panel .

I believe , here as root , i need to define few things that will be the default setting used by users ( myself ) when setting up domains and hosting web site.. those default seting should be DNS setting like NS1 and NS2.

CWP > DNS Functions > Edit nameserver Ips.
ns1 subdomain : ns1.mydomain.com  ns1 ip : ip address set on my vps
ns2 subdomain : ns2.mydomain.com  ns2 ip : ip address  set on my vps

also created new zon for vps.mydomain.com from Add new zone section of Dns function.
i am not sure if i have done all correctly .. if i go my Mailserver manager , i get this message.
Your Hostname is: vps.mydomain.com and it resolves to IP: (ERROR: You don't have a valid hostname setup)
and i can not seem to resolve that issue ..

searching google, it point to creating a dns record for subdomain.. here that i have the problem , what subdomain is being referred to ?
i would greatly appreciate if anyone can walk me through to setup this vps server with CWP , so i can start with hosting my site.

Thanks

Pages: [1]