Warning: Redis::get(): php_network_getaddresses: getaddrinfo for localhost failed: Name or service not known in /home/solveddoc.com/public_html/wp-content/plugins/litespeed-cache/src/object-cache.cls.php on line 674 create Archives - Solveddoc
Get blog page URL in WordPress
If you are working on some kind of customizations or developing some kind of theme or plugin in thing in WordPress you must have to read this. here we will discuss how WordPress get blog page permalink works.
WordPress development is made easy for developers due to its built-in functions. If you want to know how to get the blog page URL in WordPress this article is for you.
Details of wordpress get blog page permalink function:
In simple words, this function is used to get the URL or permalinks of one WordPress post to another post.
Syntax:
get_blog_permalink( int $blog_id, int $post_id ): string
When you want to do some work with WordPress the first step is to write a blog post in WordPress. To start writing a post in WordPress is a very easy process. In this article, I am going to tell you how you can write a post in WordPress.
When someone new starts a new blog or any type of other site using WordPress. So you must have knowledge about creating and managing posts with WordPress. This is one of the cores and basic requirements of WordPress.
So before going to do anything else in WordPress you just have to know how to create a blog in WordPress. As blog or post always have a great impact on the site ranking, site SEO, and all.
Login to your WordPress:
First of all, you have to log in to your WordPress admin dashboard. Normally your WordPress admin dashboard access is on:
https://www.yourwebsit.com/wp-admin
if you have any custom login link for the WordPress admin dashboard you can visit that and provide the user name and password to log in.
Login to your WordPress:
Create a post in WordPress:
Once you logged in now you can see a lot of options in the left side menu of the WordPress dashboard.
Go to the Posts-> Add new Post option in the left menu.
Create a post in WordPress
Once you click there this will redirect you to the posting page where you can write the post according to your choice and content.
On this page, you can write the content on the main page, and on the right side, you can see a lot of options like some important are Categories, tags, featured images in the post tab.
You can add categories to your posts, tag, and also set featured images to your posts.
Save post:
In WordPress, you can also make posts to draft and you can also publish them once.
But as you know one post needs many reviews so you have to save it to draft and maybe you have to preview it many times and after all, you can publish a zero error post. so these all buttons and options are present on the top of the right site on the posting page.
Creating a new Hetzner server is a very easy process. In this article, I am going to tell you how easily you can create a server in Hetzner? You can create a server on the Hetzner cloud easily by following this article.
Hetzner is a service provider that provides you Hetzner dedicated server, Hetzner VPS server, and all. YOU just have to create a Hetzner account and log in to Hetzner and deploy any type of server.
Hetzner supports many Operating systems like ubuntu, centos, Debian, etc. the location of this service provider is only in Germany.
Hetzner servers are known for their reliability, high performance, and cost-effectiveness. Whether you’re hosting websites, running applications, or managing complex workloads, Hetzner offers a solid infrastructure with powerful hardware and excellent network connectivity. With flexible configurations and competitive pricing, it’s a go-to choice for businesses and developers looking for a dependable hosting solution.
Now follow these steps to set up a Hetzner server for you.
1. Login to Hetzner account:
first of all, you have to log in to your Hetzner account if you already and click here and log in if you don’t have then create an account and then log in.
Provide all information to create an account and click the continue button to process for the creation of an account.
2. Go to you project
Once you created or logged in to your Hetzner account now have to go to any project that you have created in your account.
Click on the project and go to the project dashboard to create a new server.
3. Create a server
once you are in the project dashboard you can see a create a server button there. Click on that.
And it will redirect to the page where you have to provide and do all the setup.
Now you have to provide and select all information to create a server. This is the basic information that you need to provide while creating Hetzner dedicated server or Hetzner VPS.
3.1 Location:
In first here you have to select the location where you want to take your server. Hetzner has only Germeny locations.
there are Nuremberg, Falkenstein, and Helsinki. You can go with any you are comfortable with.
3.2 Image:
After selecting the location now select the Operating system for your server. You can select any OS on hetzner that you want to use for the server.
Hetzner Operating systems are:
Ubuntu 20.04
Fedora
Debian
CentOS
Rocky Linux etc
You can get any according to your choice.
3.3 Type:
In this step you can choose a dedicated Hetzner server or a standard Hetzner VPS. You also have to choose the specification which you want for your server. like how many CPUs, RAM, etc
3.4 Volume:
if you want any extra volume you can attach it from here.
3.5 Network:
This option will allow you to create a Network for your server. DO if you want.
3.6 Firewalls- BETA:
The firewall is right now in Beta but if you want to order and use
3.7 Additional features:
Use Hetzner’s additional features in this option
3.8 SSH key:
Integrate the user SSH key that you want to access and use on the server.
3.9 Name:
Give a name to your server and press the Create button all done to create a Hetzner server.
This article will discuss the CyberPanel features list. All the features discussed in detail. This CyberPanel features list has all the features CyberPanel has.
CyberPanel Dasboard:
After login, you come to the base page, which is the CyberPanel dashboard. On the dashboard, you can see a sidebar on the left side, in this sidebar you can almost the feature of CyberPanel. In the center of the page you see those feature buttons you can access these feature from the sidebar lists or you can access through these buttons. On the right, you can see the Resources bar here you can see CPU usage, Ram usage, and Disk usage in percentage, how much you used the resources.
This is the all I discuss above are belong to the base/dashboard page of CyberPanel. now I’m discussing the sidebar feature list one by one.
CyberPanel Features List details
Sidebar in CyberPanel Dashboard:
here is the whole sidebar or CyberPanel Dashboard, the Sidebar is divided into three section that is Overview, Main, and Server.
Overview
In the Overview section, there is the general information of your server, On the Top, you can see the IP address(255.255.255.255) that IP is your server IP address. The next button is the Dashboard button, after clicking on this button go to the dashboard. The next button is version management, if you want to know about your CyberPanel version click on this button. The last button in this section is Connect if you want to connect your server to the CyberPanel Cloud then click on this button
On the second section of the CyberPanel dashboard sidebar, you can see a lot of feature dropdown lists,
Users
This first feature is Users when you click on Users a dropdown list shown on your sidebar that has a lot more features. View Profile, this feature shows your account details e.g Username, Account ACL, Email, etc. Create New User, if you want to create a new user click on this button. List Users, if you want to list all users of CyberPanel click on this button the all use show on your screen. Modify Users, as the name shows, this button is for update/modify your user’s information. Reseller Center, This feature issue the Reseller account. Create New ACL, This feature is for Creating a new ACL (Access Control List) Delete ACL, if you want to Delete ACL (Access Control List) this feature is for deleting. Modify ACL, if you want to modify or update ACL (Access Control List) click on this. API Access, Enable or disable via this button.
Websites
On the Section, the whole information about your websites that you are deployed on this server. Create Website, You can create a new website by clicking on the button List Website, You can list you all website that are deployed on your this server List Child Domains, if you want to List all Child domain you can view all by clicking on this button Modify Website, if you want to update/Modify your website click on this button Suspend/Unsuspend, Delete Website, if you want to delete your website click on this button.
Packages
Packages on CyberPanel help you assign resources to an individual website, you must create at least one package before you start creating websites. Create Packages, You can create a package according to your requirement. List Packages, List all Packages. Delete Package, Delete the packages you won’t need anymore. Modify Package, If you feel the need to modify the parameters for the existing package you can do so via modify package page.
Database
On the Database, you can create, delete, list, and access your database Create Database, if you want to create a new database click on this button Delete Database, On this button, it will delete the database List Database, On this button it will list the database after selecting the website PHPMyAdmin, if you want to access your PHPMyAdmin click on this button.
DNS
On this Button the whole informationabout DNS(Domain Name Server) Create Nameserver, You can create a NameServer according to your requirement via this button. Config Default Nameservers, Configure Nameserver via this Button Create DNS Zone, Before you can use the “ADD/MODIFY DNS Records” page you have to create a DNS zone first, this is the first step to start using the DNS server. Delete Zone, Once the DNS zone is created you can delete the zone using this button. Add/Delete Records, Once the DNS zone is created you can add or delete records using this button. Cloudflare, In version v2.0.0, CyberPanel has added the ability to synchronize DNS entries between Cloudflare and CyberPanel DNS on your own server
Email
In this section, you can create, list, delete email, etc, Create Email, if you want to create a new email then click on this List Email, This button is for List all Email created on the website. Delete Email, if you want to delete Email click on this button Email Forwarding, ChangePassword, if you want to update or change the password of your email click on its button DKIM Manager, access DKIM manager through this button Access Webmail, access Webmail(Rainloop) through this button
FTP
Create FTP Account, click on this button to create a new FPT account Delete FTP Account, if you want to delete an FPT account click on this button List FTP Accounts, This button is for List all FTP account
Backup
Taking complete backup of a website account is simple. Create Back up, If you want to create a backup click on this. Restore Back up, Backup restore only works with backups generated through the backup generation tool in CyberPanel. Add/Delete Destination, if you want to Add or Delete Back up Destination click on this Schedule Back up, if you want to schedule your website’s backup then click and produce. Setup Google Drive, This feature is for Google drive one-click backup Remote Backups, this feature is for Remote backup
Incremental Back up
CyberPanel version v1.9.1 adds supports for incremental backups, Local, SFTP, S3 backup Create/Restore Back up, you can create a local or remote incremental backup. Add/Remove Destinations, From this button, you can directly go to backup destinations. Schedule Backups, if you want to schedule your website’s backup then click and produce. Restore from Remote this feature is for Incremental Remote backup
SSL
Manage SSL, If you want to Manage SSL click on this button and manage Hostname SSL, If you want to issue Hostname SSL you can issue it via this button MailServer SSL, this button is for Mailserver SSl
Server
The third and last section of CyberPanel sidebae is server.
Web Terminal:
CyberPanel v1.9.2 onwards has a web terminal (to access your server SSH). However, in some browsers, you might not be able to use Web Terminal with default self-signed SSL. In that case, just set up CyberPanel on SSL. Now access CyberPanel using that domain.
Cloudlinux
CloudLinux and CageFS is available with CyberPanel v.1.8.6, but before using any of its features, you need to convert your operating system to CloudLinux OS. Use the commands below to convert your server to CloudLinux OS. Create Package, List Packages, Monitor Usage,
Containerization
Containerization feature (v1.8.0 and above required, currently only CentOS is supported) offers to limit website resources and have no link to our Docker Manager feature. With containerization you can limit various system resources for a website, groups are used on the back end to enforce these limits. You can limit:
CPU Usage.
Memory Usage.
Network Usage.
Disk Usage (IO and IOPS)
Docker Manager
CyberPanel gives you the ability to manage your Docker container and images the easy way. Some of the exciting features of CyberPanel Docker Manager:
Search and pull images from Docker Hub (Along with tags).
Prune the system.
Create Container from available/pulled images.
List and manage container that includes:
Start/Stop Containers.
View Logs.
Export the file.
View Processes inside the container.
Delete Containers.
Re-create containers.
Manage Images, Manage Containers, Create New Container,
Tuning LiteSpeed Tuning, PHP Tuning,
Server Status
This feature is for check your server status and maintains it. Top Processes, from this feature you can check Top process. LiteSpeed Status, from this feature you can LiteSpeed status CyberPanel Main Log File, from this feature you can check CyberPanel Mail log files Services Status, from this feature you can check your servers Status Change Port, if you want to change your port then this feature is for that Package Manager, from this feature you can access your package manager
PHP
Install Extensions, if you want to install extensions e.g. redis etc extension you can install via this option Eidt PHP Configes if you want to change or configure your PHP version or anything else then you can change from this option
Logs
This is main featuer of CyberPanel. if you want see your server log you can watch from the option you can see: Server Mail, Access Log, Error Logs, Email Log, FTP Logs, ModSec Audit Logs,
Security
This feature is for your server security. there is a lot of more feature in this. Firewall, you can stop, start, reload, and add/delete firewall through his option Secure SSH, Securing SSH is one of the most important tasks of a system administrator. CyberPanel allows you to change SSH port, disable root login and save your SSH keys. ModSecurity Conf, this feature is for ModSecurity configuration. The ModSecurity Rules, if you want to add/remove update or anything else with ModSecurity Rule you can from this option For the ModSecurity Rules Packs, you can check the ModSecurity Rule pack from this option. CSF, You can configure CSF(ConfigServer Security & Firewall) from this button CageFS, you can enable/disable CageFS from this button Immunity 360, you can enable/disable Imunify 360 from this. ImunifyAV, you can enable/disable ImunifyAV from this.
Mail Settings
This feature is related to your emails. Mail Queue, If you want to see your mail Queue(pending mails) you can see. Email Policy Server, this feature s for Email policy. Email Limits, this feature is for email limits SpamAssassin, you can Install SpamAssassin through this feature. Email Marketing, this feature is for Email Marketing MailScanner, If you want to install or remove MailScanner you can from this feature.
Manage Services
This feature is related to your server Service and application that you can install and check status. Applications, you can install and uninstall applications from this feature. Manage PowerDNS, PowerDNS is the service you can check this form this option And Manage Postfix, you can check postfix service form this option Manage FTP, you can check FTP form this option
Plugins
You can install new plugin and uninstall installed plugin from this feature.
If you want to create a Database in CyberPanel. And do not know how to do this you are on right place read this article to know how you can create a new DataBase on CyberPanel for your Website.
Table of Contents:
Login to CyberPanel
Create New Database
Access Database
Login to CyberPanel:
First of all visi the CyberPanel login URL to login to your CyberPanel it must be with port 8090, Look like:
https://<somainname/IP>:8090
Provide username and password and login to your CyberPanel dashboard.
CyberPanel Login
Create New Database:
Once you logged in go to the Database->Create Database: in the left menu.
Create New Database
On this create database page you have to select the domain for which you want to create a new database.
select domain
Now screen ask you to provide the details for database.
Username
Database name
Password
Provide the Details for Database
When you press Create Database button this will create a new one for you on your server.
you can also list the database for any of your site on sever from Database-> List Database then select the domain and you can see the list.
list database
Access Database:
To access your database you created you have to go to Database-> PHPMYADMIN. Then press Access Now button.
You can see the PHPMyAdmin screen now. Where you can see all database for all domains. You can check the database your created and do any operation you want to do on this database.
The process to add Child domain or subdomain in CyberPanel is very easy and short. Here i will tell you how to add subdomain in CyberPanel under any main domain or website.
How to Create Child Domain under main website?
To create child domain for a main or master domain you just need to go to.
Websites->List Websites->Manage
Manage of that website for which you want to create the subdomain.
Websites->List Websites->Manage
And click the Manage button you can also follow this URL:
https://<YOUR IP>:8090/websites/example.com
When you click the manage button you can see the website manager screen. This screen has a a lot of option. Like LOGS, DOMIANS, FILES, CONFIGRATIONS, ETC.
Got to the Domains part and click the Add Domains button.
Add Domains
When you click on this option you are asked to provide the details for the subdomain you want to add.
Details for the subdomain you want to add
After providing the details like:
Domain name
Path (Leave it empty)
Select PHP version
In additional features (Select SSL, DKIM, Open_basedir Protection)
Click the Create Domain button and you will receive a success massage from the panel.
Create Domain
Once child domain is created from here. Now you can list child domain from two ways.
Go to website-> List child Domain
website-> List child Domain
2. From the Websites-> List Websites -> Manage-> List Domains
How to create and access email account on CyberPanel?
In this article i am going to explain a simple way to create email account on CyberPanel and access your email on CyberPanel.
So basically here we only discuss how to create and access email on CyberPanel. We do not going in to any other details like setup the whole procedure.
This article has following steps:
Create New Email account on CyberPanel
Access through rainloop desk
Change password for email
This guide is for basic user so if you are an expert you can comment if we miss any thing in article.
Create New Email account on CyberPanel:
To create a new email account in CyberPanel log into your CyberPanel account using credentials.
Visit this your CyberPanel URL looks like:
https://<server ip>:8090
CyberPanel
Now go to the EMAIL-> CREATE NEW EMAIL option in side menu.
EMAIL-> CREATE NEW EMAIL
On the Create new email screen you need to select the Website for which you want to create email account.
select the Website
Now add the required details. like:
User Name
Password (better to generate random password from button)
Provide Information
Provide details and Press Create Email button you can see the massage.
Email with id : test@solveddoc.com is successfully created.
Access through rainloop desk:
To access your email account you need to got to the:
Email-> Access Webmail
Access Webmail
When you click on Access webmail it will navigate you to the:
https://<server ip>:8090/rainloop/index.php
Here you can see this screen.
RainLoop
Provide the required details and get login. Here is the dashboard you see once login.
RainLoop DashBoard
This is a tutorial to create and login not the whole setup is included in it.
Change password for email:
If you want to change the password of any existing mail this is very easy using CyberPanel.
Go to the EMAIL->LIST EMAIL select the website for which the email password you want to change.
Email Password
You can see the change password button IN front of the the mail press that. When you press a prompt appears and ask for new password provide new password and click save.
New Password
This is a basic tutorial for email creation and access. Please leave your comment below if we need to change any thing in this article.
If you want to earn from your Android and IOS application then you can use AdMob. The question is how to Signup on AdMob Account?
In order to make money from your application first, you need to know how to create an AdMob account. In this article, I will show you a detailed method to signup on AdMob.
How to create AdMob Account?
I will tell you the process step by step so you can understand the method in a better way.
Go to this LINK And press Get started OR Signup button on the screen.
2. If you access this link in a browser where you have already login with a Google account you will receive this screen. Where they ask you to verify your account click Next.
3. Place the password and Click the Next button.
4. Now place all the required information in this step.
country or territory
Time Zone
Billing currency
Check the agreement
Click the CREATE ADMOB ACCOUNT button after adding all information.
5. Check the email notifications for your account. And continue to next screen.
6. Your account is created and ready to to use. Click Get stared to create units on your AdMob to earn.
How To create AdMob Units:
the main part is to create AdMob units on google admob account. Follow the steps to do so.
Click on the Apps in left menu and the click Add Your First APP.
2. After clicking Add Your First App you will receive a screen that ask you about the application is on the play store or not. Press Yes or No
3. I press No on the next screen you have to put some details.
App name
Android or IOS
After providing these details press ADD.
4. Now finally you reach at the point where you can create ADD UNIT. Press Create Ad Unit button.
5. You have to chose the ad format which you want to create and add to your Application like i go for Banner.
6. Add name for ad unit and Press the create button.
Your admob units are created successfully. If you want to create an other unit press CREATE ANOTHER AD UNIT Or press done.
If you want to view ad units of any specific app you can go to Apps->App name->Ad Units and from here you can add a new ADD unit from here also.
Add Payment Information:
On a new AdMob account without payment information, your ads did not go live. You have to add Payment information in order to proceed. For this follow these steps:
Go to the Payments-> Setup Payment
Add the following required information on Payments Page:
Please provide a valid address and passcode because your approval depends upon this. After providing all details press SUBMIT and you can see this screen.
And on Home you can see this massage that your account is being verified Please wait untill they verfiy your account.
Once your account is versified you will receive a verification email. And your adds goes live after verification.
How to Create a Website and install WordPress on CyberPanel one-click installation?
In this article, I am going to tell you how to install WordPress on CyberPanel. This article is about the one-click installation of WordPress on CyberPanel.
I will briefly describe how to create a website on CyberPanel. And then we will go toward the installation of WordPress on CyberPanel. The main theme is how you can create a website and install WordPress on CyberPanel.
if you are new on CyberPanel and want to know the basic Information and usage of CyberPanel then do not leave the article i will explain some basic at the end of article.
How to create a new Website on CyberPanel?
Creating a website on CyberPanel is very simple and easy. Here the all steps to create a Website on CyberPanel are listed.
Go to the Websites-> Create Website Option in CyberPanel Menu:
Can navigate to this ULR to Create new web site:
https://your_IP:8090/websites/createWebsite
Provide the following details here
Select Package (Default )
Select Owner (Admin or any other)
Domain name (example.com without www)
Email (Your email address (youremail@xyz.com))
Select PHP (Latest is recommended )
SSL (Always check)
DKIM (Always check)
Open Basedir Protection (Check )
Create Mail Domain (Check if you want to you on same server)
After providing all information press Create Website Button. It will take sometime to complete and will show the confirmation massage once its Done.
How to install WordPress on your domain from CyberPanel?
When creation of your website on cyberpanel is done. Time to install WordPress on that site using CyberPanel. Just Follow these steps and do it quickly.
Go to the Websites-> list websites
Can follow this URL to list all websites
https://your_IP:8090/websites/listWebsites
2. Click the Manage button to navigate to the manage website dashboard
Navigate to this URL to list all websites
https://your_IP:8090/websites/listWebsites
3. On the management dashboard to the last section there you found WordPress click on that.
You can also get access the dashboard through this Url
https://your_IP:8090/websites/yoursite.com
4. Once you click this button now you can see a screen asking for the WordPress details.