CentOS VPS Server Apache Alias

Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users CentOS VPS Server Apache Alias
# 1  
Old 08-07-2018
CentOS VPS Server Apache Alias


We have a hosted CentOS 6 VPS server, using CPanel to install/config the domains/subdomains and installed osTicket in:


We are trying to define the following Apache alias:


which has to point to:


CPanel installs the domain admin user at:


and the domain is at:


Since Apache runs at /etc/httpd/

and includes the directory /etc/httpd/conf.d/

I created file /etc/httpd/conf.d/alias.conf with this definition:

    Alias "/tickets" "/home/myuser/public_html/tkng/upload" 

                      <Directory "/home/myuser/public_html/tkng/"> 

                           Options Indexes MultiViews FollowSymLinks 

                          AllowOverride All 

                          Require all granted 


This has no effect!

Some of what I read suggest putting the alias in the domain .htaccess file, others say I need a symlink. Some others say I need a different path statment but not sure if they are talking about making the symlink first and using that path or not.

What I can tell is that CPanel makes setting up an Directory Alias very difficult and there is a page labels Aliases inside of CPanel which is not aliases at all but instead Virtual Domains.

Need some help here to get this concept right to finally be able to get a working alias.

Going to also install some other apps on this domain, so getting this first alias right is critical.


Login or Register to Ask a Question

Previous Thread | Next Thread

8 More Discussions You Might Find Interesting

1. Red Hat

CPU high - apache real server OK, virtual server not

Got two RHEL servers - one real and one virtual/cloud. Both run apache web server. When traffic is applied, CPU seems to go quite high on virtual one (20%) but real is not really affected. Worry is that a further increase in traffic will see a problem. Experience of RHEL is limited. Whats... (2 Replies)
Discussion started by: psychocandy
2 Replies

2. Web Development

Building LAMP server from scratch (build a server with compiled LAMP from CentOS mini)

Hello everyone, I would like to setup a lamp server from a minimal distro and to compile PHP, MySQL and Apache myself. I have chosen CentOS minimal for the OS and I am trying to build the stack by hand... But well, it appears I need some help! First: I am looking for good and recent... (3 Replies)
Discussion started by: freddie50
3 Replies

3. Programming

Problem with Perl script after moving from a Windows/Apache Server to a UNIX server.

I have a Perl script that worked fine before moving it to justhost.com. It was on a Windows/Apache server. Just host is using UNIX. Other Perl scripts on other sites that were also moved work fine so I know Perl is functioning. The script is called cwrmail.pl and is located in my cgi-bin. When I... (9 Replies)
Discussion started by: BigBobbyB
9 Replies

4. Linux

Moving Whole OS Centos Server

I currently have a web server its on a small harddrive I didn't know my site would grow so fast but now I need a bigger hard drive. Instead of adding another harddrive (host charge monthly of how many hard drives connected to server) is there anyway to just move the whole os to a bigger hard drive... (2 Replies)
Discussion started by: awww
2 Replies

5. UNIX for Advanced & Expert Users

Mail server in centos!!

Hi all!! 1. I am totally new to Mail server but now in our management decided to run own mail server, still now we are running our mail server using godaddy!! if we transfer all mail accounts to here means what are the steps i need to do?? 2. I have basic idea in postfix , which... (2 Replies)
Discussion started by: anishkumarv
2 Replies

6. Red Hat

Installed apache server , can't connect from outside (using CentOS in WMware )

Hello all I installed apache in CentOS 5.5 ,after searching the web for tips on configuration I did the fallowing stuff to unable connecting the http server from outside. In /etc/httpd/conf/httpd.conf I changed the Listen value to Then checked with then check with: netstat -anp and I... (2 Replies)
Discussion started by: umen
2 Replies

7. Web Development

Apache How to 'alias'/'locate'/'redirect' subsite to another internal server?

Apache Experts! We have 'n' servers behind a firewall. One of these, 'Machine A', is the DMZ, and is world facing. It serves up any number of Apache Virtual Hosts already, no problem! Now, how do we 'attach' another server - currently visible only to the internal subnet - such that its... (3 Replies)
Discussion started by: Dr Lou
3 Replies

8. Red Hat

Unable to Start X in Centos - VPS - SSH

# startx xauth: creating new authority file /root/.serverauth.18174 X Window System Version 7.1.1 Release Date: 12 May 2006 X Protocol Version 11, Revision 0, Release 7.1.1 Build Operating System: Linux 2.6.18-53.el5 i686 Red Hat, Inc. Current Operating System: Linux server1.... (0 Replies)
Discussion started by: mselvaprakash
0 Replies
Login or Register to Ask a Question

Featured Tech Videos