Skip to content

u/pivotpixels

In this archive from Jul 2022 to Dec 2023

3
posts
176
comments
2
media
616
score
2 saved before deletion

This is a terrible suggestion I've seen here quite a lot. Most people looking for developers are business owners looking for help and guide to boost their online sales/marketing. Suggesting them to self-learn a complete new subject just to get a functional website is absurd imo.

I mean I understand the advice for someone who actually wants to be a web developer in future. But not to those who are looking for a service. Your car mechanic doesn't ask you to 'learn it yourself' when you go to fix your car...

8 points

Just cause someone is packaging a certain amount of functions and features in a 'plugin' format doesn't mean 'web developers' will have no job. You still require knowledge to use these 'plugins'

Do you know what smtp is and how it works? Could you configure an smtp and still maintain a 10/10 email score for your online website?

Do you know what is pagespeed and how they are affected? How many different types of caching are used in modern web development? What are those and how do they work? What's the difference between inline css and external css in relation to page loading time?

Do you know anything about SEO? What are metadata and why are they useful, have you configured the metadata for all your pages/posts? Do you have the skills to research about them?

Do you have any experience with API? Can you connect an API endpoint to a 'pre-defined plugin'? Do you know how API keys are generated or paired?

Do you have any experience with SSL or DNS? Can you generate your own self-signed certificate? Do you know what wildcard certificates are? What do you know about Certificate Authority? What do you know about DNS? What are root DNS servers? What are the types of dns records and what are they used for?

Do you have any experience with networking and server configuration? Do you know what a web server is and how it works? Do you know what a reverse proxy is or how it works? Do you know anything about sub-netting? Do you know how server-side caching works?

Do you have any experience with server security? Do you know what WAF is and how it works? Do you know anything about OWASP? Heck do you even know what Iptables are and how do they work?

These are all very basic questions, even a beginner web developer should be able to answer. Web development is much much more complex than building a cool looking web page.

Also, most of the real world websites require a lot more complexity than what a plugin can provide out of the box.

Could you build a custom real-estate directory with WordPress with some readymade plugins?

Could you build an educational site like coursera with a readymade plugin?

Think about every single aspect of it.

1 points

One thing to always keep in mind is, don't fix something that isn't broken.

Assuming you have mastered a page builder (elementor) at this point and have a basic knowledge of HTML and CSS. You can build websites that can load in milliseconds. At that point, is building something from scratch worth the hassle?

Clients usually want a reliable and fast website that simply works. In such cases, building something that takes 5 times the time it'd take building with a page builder is completely illogical.

I know a lot of agencies making genuinely good websites with Elementor or other page builders.

However, if you're building a website that goes against default WordPress functions, or wanna build without a page builder. You need to learn how to build your own theme and functions. That's how a wordpress website without builder is coded.

7 points
  1. Wordpress is a tool like any other. Get a noob to edit a photo in photoshop and it'll be a recipe for disaster. Similarly give a noob WordPress and all your stereotypes are right. It's a tool that enables web developer to make websites easily, it's not for noobs looking for a nocode solution.

Since WordPress is open source and available to everyone, a lot of people market their products through wordpress and market the shit out of it so when a noob searches "How to build a website" he/she is bombarded with WordPress tutorials. Thus a lot of noobs create shitty websites with random plugins or themes marketed to them and get a slow, less secure website. Which generalises the standard stereotypes about WordPress.

  1. You don't want "many moving resouces on a website" actual WordPress developers add 2-3 plugins well known and backed by good developers that make their life easier and 1 of the Top themes that they are accustomed to. Heck sometimes they code themes/plugins themselves to meet their needs.

  2. Point is similar to 2. If you don't have too many themes/plugins. Updating is really easy especially with a staged environment. There are tools (usually free) to make this whole step automated and essentially 1 click.

  3. Hosting is required for any website regardless of the CMS. Like I've mentioned. WordPress isn't for newbies they are for developers to make their life easier and maintaining it easier.

  4. Good developers always have backups and staging sites are created to avoid the problems and updates are pushed their first to ensure everything works fine.

  5. Not updating anything can be dangerous. Not just on computers. A lockpicker knows more ways to open a lock manufactured in 1980s than in modern times. The longer something is out on the market the more people with mess around with it, the more vulnerabilities they'll find.

  6. WordPress isn't a no-code tool. It's a CMS that enables coder to kickstart their projects with a base start. WordPress provides a GUI based backend, a user login and restriction system, a custom post option all out of the box which can take a developers months to develop.

Most of the no-code tools are limitations. You can't do anything outside of what it provides. Want to add a 3d scroll JavaScript? Too bad your no-code tool doesn't allow 3rd party js and doesn't have something similar inbuilt.

But Wordpress is an enabler, you can't find a feature/animation/effect on wordpress? Code it yourself and add it to your existing WordPress site or like most developers copy a snippet from stackoverflow.

  1. WordPress is a free tool supporting millions of websites, some as big as Microsoft/Google/Marvel and all if not most news websites rely upon WordPress. I doubt it'll die anytime soon.
2 points

Wordpress has multiple caching plugins that help you integrate CDN through them. Likewise if you use Cyberpanel(which uses Litespeed as web server) as I suggested you can use Litespeed's official LScache plugin which will let you configure Cloudflare, Bunny or any other CDN through it.

Watch this video: https://youtu.be/JqZ2KIHPKrk Timestamp: 15:20

It'll show you how to integrate it properly.

2 points

If you really gotta use Cloudflare's services you need to edit your dns records manually every time you change something. Better yet (assuming you're a developer) you can implement an API trigger to update Cloudflare's dns through your dashboard panel.

In my experience. I'd rather not use Cloudflare. At first they seem to provide a lot of good features but when you dig deeper you'll find that you're getting mediocre service essentially by selling your domain's soul to them (they are basically jacking your dns). I'd rather suggest trying out bunnycdn.

1 points

Step 1. Learn html, css, JavaScript, PHP. Learn the rest of the things in a LAMP Stack, Learn the basics of WordPress and understand how it works.

Step 2: Develop a site

Step 3: ????

Step 4: Profit...

In all seriousness, you're asking reddit something similar to how to build a car. There's a lot of learning, experience and ideas required to build a complete website. That's why you either hire a developer or learn years of detailed subjects to understand how everything works. No one can even comprehend to answer this in a regular reddit comment.

3 points

As far as I remember the video tutorial ends with a basic A record pointing to the server ip. Which works fine if you just wanna use a singular website. But in reality you might need to add a lot more records manually to get email/ and subdomains working. Also in future DNS records won't auto update. Add multiple domain to these structure and you'll be in a loop of configuring dns almost forever.

If you add the Nameserver records and host dns in your own panel. All records will be auto added and updated by the hosting panel automatically. I've added a different video to my previous comment which shows how to add custom nameservers. Otherwise you can also follow the instructions in the previous comment.

Question 1. (Skip the commented section if you don't wanna know what's going on under the hood)

//Technial explanation starts here

Essentially when you host an application on the web, you expose it to a random port. Let's say in this case WebsiteA is exposed on port 5000. (Note: this port doesn't have to be exposed publicly and will work as long as the reverse proxy server can access it. Assuming both the reverse proxy tool and website is hosted on the same server the ports can only be exposed internally and everything will work fine)

Now we use a Reverse proxy tool to point a domain to that particular port. So let's say I reverse proxy websiteA.com to port 5000.

So when a request comes in for websiteA.com from your computer searches for the dns, finds the server ip and requests the server for the content for websiteA.com. the server asks the proxy manager for the domain/subdomain's port and the reverse proxy manager pulls up the details on port 5000 then the server sends that data to your client computer and that's how the information is displayed on your browser.

Similarly say Websiteb is exposed on port 5001. And your proxy manager knows where to redirect it.

This is how you can host multiple services in the same server.

//Technical explanation ends here

All the things mentioned above will be managed automatically by your hosting panel. All you gotta do is add a different website in the panel, specify the domain name and point the ip (or nameserver) of the domain properly.

  1. In WordPress you can find millions of plugins that will help you migrate websites with a single button click. Some famous ones are Duplicator, WPVivid, Updraft, All-in-one migrator etc.

If you are managing multiple websites you can also use Managewp or Mainwp which among other things, will let you migrate or clone a website with a single click.

Also if you're using Cyberpanel as your hosting panel, they provide a easy staging option which will let your migrate sites.

If all else fails, you can manually copy the website files(can be accessed through FTP) and database (usually accessed through phpmyadmin) to a second website and then find and replace all the contents from domain1.com to domain2.com, reinstall ssl properly for domain2.com in a pure caveman style.

1 points
  1. They are different brand names. Linode calls them ... Well Linode. Digital ocean calls them droplets. Amazon and Google calls then EC2 (Elastic compute 2). Etc essentially they are all vps with the specification you buy. I'd recommend Vultr High frequency servers over Linode as they have the lowest steal time.

2 So a brief about DNS: DNS or Domain Name server is essentially a phonebook for the internet, it essentially keeps records of which server is a domain name requesting (for example when you enter google.com in your browser, it requests your local dns what the ip for google.com is and it gives the ip then your browser access the website through that)

On the other hand Nameservers are used to point to the DNS server where your domain's dns record is hosted.

More about DNS: While setting up your DNS record. A records are simple redirect records. For example if you point @.yourdomain.com to ip 1.1.1.1 your root domain request will be sent to the server of ip 1.1.1.1

If you set example.yourdomain.com to ip 2.2.2.2 your browser will redirect you to 2.2.2.2 (this is how you create subdomains.

Cname records are for pointing your domain/subdomain to another host. So if you point subdomain.yourdomain.com to host google.com your browser will fetch google.com's ip and redirect you to that.

To keep things brief, these are the 2 most important records other DNS records are like

AAAA - similar yo A record but for pointing to ipv6 address instead of ipv4 MX record: used to create email host. Txt: adding a html string to your dns Ns: for creating NS record.

There are a lot more but for your usual day to day work you're mostly gonna use the ones mentioned above.

  1. So in most Hosting Dashboard Panels, you can host your own DNS server and create your own Nameserver hostname for ease of use.

You can definitely create a A record to any domain you want and point it to your server's ip to host a website. Or you can create your own Nameservers and host dns in your server.

In your Domain Registrar's website go to 'Create custom hostname/nameserver' option. Create 2 ns records like ns1.yourdomain.com and ns2.yourdomain.com and point your domain to those nameservers.

In your hosting panel add your domain and in custom hostname/nameservers section add ns1 and ns2.yourdomain.com.

From this point onward you can point any domain's nameserver to ns1 and ns2.yourdomain.com and call it a day.

Edit: https://youtu.be/OpVxTJOlTu4

Watch the first 2 mins of this video to understand how to configure your own nameserver.

1 points

Keyboard shortcuts

Move and act

jork
Next / previous post or comment
Enteroro
Open the post
f
Open the media viewer
s
Save
h
Hide (the toast has Undo)
Tab
Right after an action: the toast's Undo
x
Collapse the comment
v
Next layout: cards, compact, grid

Go to

/
Search
gthenh
Home
gthena
All
gthens
Subreddits
gthenl
Library
?
This list
Esc
Close a menu or this list

In the viewer

โ†orโ†’
Previous / next file
โ†‘orโ†“
Previous / next post
korj
Previous / next post
Space
Play / pause
m
Mute
z
Zoom
s
Save
o
Open the post (on its own page: back to it)
Esc
Close

Keys do nothing while you type in a box.