Linux Tutorial | Matt Cooper - Open Source Support
Linux Tutorial | Matt Cooper - Open Source Support
ISPConfig3 Tutorial

Add SRV Record to Ispconfig3

A customer asked me to add a SRV record to their domain but documentation on how to add this record is very slim.

To add the SRV record:

1. Open the zone file > Records > Select SRV:

SRV Record

2. Enter the record details similar to the following (insert your own records):

srv_filled

3. You will notice there is no option to set priority. To do this we need to modify the DNS record in the database. Navigate to your phpmyadmin (e.g. http://10.10.10.10/phpmyadmin). Lookup the domain in the dns_rr table and edit the record, changing aux to the priority value (100 in this case):

 

phpmyadmin_srv

4. That’s everything in place now perform a lookup with MX Toolbox:

srv_report

 

August 14, 2015by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon
ISPConfig3 Tutorial, Nginx Troubleshooting, Wordpress Troubleshooting

ISPConfig3 + Nginx – WordPress issue

Following on from the ISPConfig3 running on nginx tutorial I then came to installing a WordPress site within ISPConfig. Piece of cake, right?

So I went about the usual process of setting up a new site and database within the ISPConfig interface. Then I grabbed the latest WordPress (wget http://wordpress.org/latest.tar.gz), placing it in the correct location inside the “web” directory for this particular site. Ownership/permissions were then updated – everything as per normal in this environment.

I then enter the URL into my browser and low and behold the WordPress home page appeared. Great! Until I browsed to any other page within the test site:

ERROR 404 – Not Found!

From a considerable bit of Googling I found the following piece of code needs to be appended to your nginx Directives (ISPConfig > Website > Options)

location / {
try_files $uri $uri/ /index.php?$args;
}

Restarted nginx and we’re back in business. All pages loading as they should.

 

July 3, 2013by Matt Cooper
FacebookTwitterPinterestGoogle +Stumbleupon

About me

Hi, I'm Matt Cooper. I started this blog to pretty much act as a brain dump area for things I learn from day to day. You can contact me at: matt@linuxtutorial.co.uk

Recent Comments

  • Andrew on Export list of Amazon EC2 Instances to CSV
  • Matt Cooper on Proxmox – add a second hard drive to node for Backups
  • karis on Proxmox – add a second hard drive to node for Backups
  • Matt Cooper on Remote MySQL Database – Slow Connection
  • Matt Cooper on Bash script to send public IP address to Email

Categories

  • AdvancedTomato
  • Amazon AWS
  • Amazon Linux
  • Amazon S3
  • Apache
  • Apache Kafka
  • Backup Tutorial
  • Bash Scripting
  • Centos Tutorial
  • CloudFlare
  • Command line Tutorial
  • CPanel Troubleshooting
  • CPanel Tutorial
  • Debian Troubleshooting
  • Debian Tutorial
  • DKIM
  • Docker
  • EC2
  • ESXi
  • Faildows
  • Google Adwords
  • Google Analytics
  • Google Chromebook
  • Google Mail
  • graylog
  • IAM
  • imapsync
  • iRedmail Tutorial
  • ISPConfig3 Tutorial
  • Java
  • ldap
  • letsencrypt
  • MyDNS
  • MySQL Troubleshooting
  • MySQL Tutorial
  • Nest Install
  • Netbeans
  • Nginx
  • Nginx Troubleshooting
  • openssl
  • PCI Compliance
  • Percona
  • PHP
  • Plex Media Server Tutorial
  • Postfix
  • Proxmox Tutorial
  • Pure FTPd
  • Resourcespace Tutorial
  • Route 53
  • Rsync Tutorial
  • Security
  • Smoothwall Troubleshooting
  • Smoothwall Tutorial
  • SSH
  • tcpdump
  • Thunderbird
  • Tomcat Troubleshooting
  • Ubuntu Tutorial
  • Uncategorized
  • Unison
  • vmware
  • vzdump
  • WHM
  • Wireshark
  • Wordpress Troubleshooting
  • WordPress Tutorial

“See, you not only have to be a good coder to create a system like Linux, you have to be a sneaky bastard too." Linus Torvalds

© 2017 copyright www.linuxtutorial.co.uk // All rights reserved