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.

Messages - linuxnewb2020

Pages: [1]
CentOS 7 Problems / Re: Domain Redirect
« on: March 24, 2024, 11:57:34 PM »
Support game me the solution, by selecting "Do not redirect www"

I could not get my subdomain redirected or any redirect I created to work. I read a bunch of forums, thought maybe a glitch and almost thought about rebuilding something, I left it alone for a while, came back, and found this.

Thanks! This worked for me

CentOS-WebPanel GUI / Re: Redirect Module in User GUI Missing
« on: December 03, 2020, 10:18:34 PM »
recently I came across the same missing "redirect" under domain. Any fix?

I originally had it working on install. I was able to redirect, I had an issue with DNS but restored that now that I'm trying to add a new domain redirect, It doesn't show it the option under the client panel domain submenu. How can I restore the "redirect option"?

Postfix / Re: RBL not added to postfix
« on: October 23, 2020, 03:55:56 AM »
Can anyone share how to access the, need to add spamrat rbl.

I found out how to do this! If you never found out, please check my similar post where I added the fix! Good luck

I fixed it!

I almost did a transfer and deleted everything to start a new installation. I was doing some more research while waiting for a copy of all my files to FTP over. I found a forum on how to "fix corrupted named.conf in Cpanel" so I did a search for the same keywords but for CWP. I found this

I executed the following commands in this order

REBUILD /ect/named.conf

/scripts/cwp_api account rebuild_etc_named_conf

and also....


Rebuild WebServers Configuration for all WebServers and all Domains

/scripts/cwp_api webservers rebuild_all <----(this one failed with a warning of "no such directory"

Reload WebServers

/scripts/cwp_api webservers reload

Restart WebServers

/scripts/cwp_api webservers restart

Seems to have the job. I fixed my mistake. My websites are resolving now. Thanks for all your input.... Im a happy camper!

Out the box following most installation guides, I ran across this issue, erased and installed multiple times on VIRTUALBOX Centos7 I did not run into this problem when installing on my VPS only in my home installation. that why it was weird to me. You are probably right, but if I don't know about or how to disable redirect. This is the layman's fix. I'm not a Linux guy I just know who to follow instructions and copy paste codes, I have no idea how to input syntax from scratch on Linux to perform the disabling action you just mentioned. I didn't know disabling that redirect is something you can do, there's no guide or heads up for that redirect in the guides online, they were probably meant for Linux people that would know "I need to disable redirect."  I installed at home because I need to do a migration from my VPS to do some testing.  But thanks for the heads up,

You probably have this one fixed but here is my post where I had the same problem and figured it out. so posting for you future reference maybe this might have been the issue

Virtualbox - Centos 7 -  CWP new install

Haven't found much to that provides a thorough explanation. But hope this helps!.

Found the below ports information and put it off the side for referencing while TS.

CWP Admin Panel Link (by hostname) if this is at home and you have no domain pointing to your external IP then use your IP. Google what is my IP. example.

http://serverip:2030.. etc.

CWP Admin Panel Link:
CWP Admin Panel Link:
CWP Admin Panel SSL Link:
CWP Admin Panel SSL Link:

CWP User Panel Link (by hostname)

CWP User Panel Link:
CWP User Panel SSL Link:

Ran update with command:
sh /scripts/update_cwp

Checked and shows port 80 and 2030 as open.
Only opened port 2030 in router initially, then.....

I noticed that the port 2030 automatically forwarded to 2031, so I went back to my router port forwarding and added port 2031. Then the admin login worked.

Admin Login screen for panel now shows. Then tested 2086 and it didn't work. Added port 2086 to the router like I did port 2031 and nothing. So then I added 2087 and then the admin login screen worked. Then added an open port rule in router that ranged from 2082-2083 for the client-side instead of having the rules separate, but I was just proof of concept that both ports need to be open at the same time, so one open port rule should be enough for sequential ports that need to be opened...

Conclusion. You must have both admin ports (2030,2031) or admin (2086,2087) and client (2082,2083), login ports pairs open at same time for that login screen to be accessed. One port forwarding rule per pair would be enough. I originally only opened port 2030 and so it wasnt working up until I opened its corresponding "https" port.

Good luck guys!

DNS / Re: Bind DNS Record examples
« on: October 11, 2020, 12:18:37 PM »
So I wrongfully deleted the "Name.**" db files. i believe it was the following. has address:
named.empty has no address
named.localhost has no address
named.loopback has no address

Any way to recover those files? or do you have examples to write them from scratch.

So deleted some dns records and messed up my DNS zones? Did you find out how to reinstall the DNS?

DNS / HELP! I jack up my dns by deleting the "has no IP address zones"
« on: October 11, 2020, 07:12:57 AM »
I lookedup my dns because I was having issues with my email being flag for spam. I found something like these,

Below was posted by another user, any idea how I can restore/recover/rebuild those DNS zones... has address:
named.empty has no address
named.localhost has no address
named.loopback has no address

the zones that I deleted all start with "NAME." One had a bunch of root servers and what seems to be listed in alphabetical order. Now non of my websites resolved. Is this generic. If I can't restore. anywhere I can find a copy of that zone file to create it manually? My Bind DNS Server has stopped. Below is the status...

● named.service - Berkeley Internet Name Domain (DNS)
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Sun 2020-10-11 03:44:31 EDT; 43s ago
  Process: 9367 ExecStartPre=/bin/bash -c if [ ! "$DISABLE_ZONE_CHECKING" == "yes" ]; then /usr/sbin/named-checkconf -z "$NAMEDCONF"; else echo "Checking of zone files is disabled"; fi (code=exited, status=1/FAILURE)

Oct 11 03:44:31 cwp bash[9367]: zone loaded serial 2020072600
Oct 11 03:44:31 cwp bash[9367]: zone loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone loaded serial 2020101121
Oct 11 03:44:31 cwp bash[9367]: zone loaded serial 2020101121
Oct 11 03:44:31 cwp systemd[1]: named.service: control process exited, code=exited status=1
Oct 11 03:44:31 cwp systemd[1]: Failed to start Berkeley Internet Name Domain (DNS).
Oct 11 03:44:31 cwp systemd[1]: Unit named.service entered failed state.
Oct 11 03:44:31 cwp systemd[1]: named.service failed.

Clicked on report issue and got this message from robot:
Hi, I'm AI-Robot, I will try to recover your named service.
Service Recovery FAILED!! "Unable to find a solution" I'm reporting this issue to main CWP artificial intelligence system!

I'm still learning please give me some time to learn about all issues.

DNS / Re: checked dns got these !!!
« on: October 11, 2020, 07:06:35 AM »
So I was the idiot and actually deleted these. Now none of my websites resolve. I am not a dns guru, How can I restore/recover/rebuild appropriate DNS files.

How to enable special character support when adding domains. I had no problem registering the domain with register but when CWP adds the domain it leaves out the special character "."

Pages: [1]