Dynamic Subdomains In Plesk
Nov 2, 2008
im trying to set up a site for a client whereby they can add subdomains to their existing domain (http://test1.client.com/, http://test2.client.com/, etc.).
its a dedicated server with Plesk...can anyone point me in the right direction please?
ive searched these forums but havent come up with much, but maybe didnt search for the right terms, so my apologies if this has been answered before.
View 1 Replies
ADVERTISEMENT
May 1, 2015
I am troubleshooting a problem where the php5 package was replaced and caused lots of psa/plesk packages to be removed. This system details are;
# cat core.version
11.5.30 Ubuntu 12.04 115140407.17
# lsb_release -a
Description: Ubuntu 12.04.2 LTS
Codename: precise
# uname -a
Linux my.host.name 3.2.0-45-generic #70-Ubuntu SMP Wed May 29 20:12:06 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux
The plesk panel is up, the websites are running, and the email services are running, but there are many errors like so;
==> error.log <==
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
I also get the following error when inspecting the json module:
root@vps:/etc/php5/mods-available# php -i|grep -i json
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20090626/json.so' - /usr/lib/php5/20090626/json.so: cannot open shared object file: No such file or directory in Unknown on line 0
/etc/php5/cli/conf.d/20-json.ini,
[Code] ....
What I need to install to get that json.so file back?
View 2 Replies
View Related
May 7, 2007
I've set up the affiliate manager from jrox.com for a client of mine. This includes the setup of wildcard DNS so that each affiliate can have username.clientssite.com and have it count their clicks - which works properly.
What isn't working properly is that he also has forums.hissite.com, which is loading the main website page instead of his forums. He is using cpanel to add the subdomain, and it isn't failing, so I'm not sure what's going on with it.
Here is the relative section from the httpd file.
Quote:
<VirtualHost 74.53.106.146>
ServerAlias residualvictory.com
ServerAlias *.residualvictory.com
ServerAdmin webmaster@residualvictory.com
DocumentRoot /home/residual/public_html
BytesLog domlogs/residualvictory.com-bytes_log
ServerName www.residualvictory.com
User residual
Group residual
CustomLog /usr/local/apache/domlogs/residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/cgi-bin/
</VirtualHost>
<VirtualHost 74.53.106.146>
ServerAlias www.forums.residualvictory.com
ServerAlias forums.residualvictory.com
ServerAdmin webmaster@forums.residualvictory.com
DocumentRoot /home/residual/public_html/forums
BytesLog domlogs/forums.residualvictory.com-bytes_log
ServerName forums.residualvictory.com
User residual
Group residual
CustomLog /usr/local/apache/domlogs/forums.residualvictory.com combined
ScriptAlias /cgi-bin/ /home/residual/public_html/forums/cgi-bin/
</VirtualHost>
And the bind file for his domain
Quote:
; Modified by Web Host Manager
; Zone File for residualvictory.com
$TTL 14400
@ 86400 IN SOA ns1.lucidic.com. root.lucid.lucidic.com. (
2007050705
86400
7200
3600000
86400
)
residualvictory.com. 86400 IN NS ns1.lucidic.com.
residualvictory.com. 86400 IN NS ns2.lucidic.com.
residualvictory.com. 14400 IN A 74.53.106.146
localhost.residualvictory.com. 14400 IN A 127.0.0.1
residualvictory.com. 14400 IN MX 0 residualvictory.com.
mail 14400 IN CNAME residualvictory.com.
www 14400 IN CNAME residualvictory.com.
ftp 14400 IN A 74.53.106.146
forums 14400 IN A 74.53.106.146
www.forums 14400 IN A 74.53.106.146
* 14400 IN A 74.53.106.146
View 10 Replies
View Related
Apr 7, 2007
I would like to do the following but on Plesk 8.1.0 for Windows:
[url]
How should I do it?
View 0 Replies
View Related
Jul 5, 2015
How to enable subdomain? I do not work for subdomains SSL...
View 6 Replies
View Related
May 26, 2014
I have a problem with a particular application.
I have a domain bbb.com
I create a subdomain a.bbb.com
I wanted to point my domain to a.bbb.com under a different ip my server. So I went in the parent zone bbb.com order to change the ip of this subdomain. After 48h nothing worked ...
There are 24 I changed the area to tell Plesk subdomain manages its own area, and I changed all the IP for the new, but nothing happens again, I'm afraid it is not that ...
Or how to check whether the implementation is consistent?
View 3 Replies
View Related
Jan 17, 2015
subdomains are not in the network can reach subdomains of the primary name server, but not to those of domains hosted on the server.Here's an example of the results for two domains, one server name and another one that is hosted on the server.
Server: webserveritk.com
http://verdns.com/webserveritk.com
http://verdns.com/www.webserveritk.com
http://verdns.com/claro.webserveritk.com
Domain in the server
http://verdns.com/itknow.red
http://verdns.com/www.itknow.red
http://verdns.com/blog.itknow.red
The same in all domains in the server
I think it must be an error in the configuration of the DNS, domains are registered work because an external Hosting (Strato.de), but all changes made on my dedicated server (such as creating a subdomain or webmail) do not appear it is as if my server reportase no changes to the parent DNS server. But not how to fix it.
View 1 Replies
View Related
Jul 15, 2015
We are starting to migrate our servers to Plesk and are building all necessary processes with the plesk xml api.
If I create a subdomain via api
Code:
<subdomain>
<add>
<parent>domain.com</parent>
<name>example</name>
<property>
<name>www_root</name>
<value>httpdocs/web/</value>
</property>
</add>
</subdomain>
The vhost configuration at apache gets this part
Code:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{HTTP_HOST} ^subdomain.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.subdomain.domain.com$1 [L,R=301]
</IfModule>
So every subdomain is redirected to prefix www. But if I create the subdomain via plesk panel, the mod_rewrite isnt created, as i want. I also tried reconfigure-all, but this rewrite part is always active. I have no possibility in plesk 12.0.18 to set the setting for www prefix like at normal sites. So what can i do to prevent it and where can i change it afterwards?
View 1 Replies
View Related
Sep 28, 2014
I have a server in my house. My IP local is 192.168.1.61 and i have other ip static public. I can view my domain and one subdomain, but i don't view other subdomain and webmail.
View 1 Replies
View Related
Jan 3, 2015
System: Plesk Panel 12, updated on CentOS 6
Situation:
"Main-domain" domain with 2 "alias-domains" (301-forward). For "Main-domain" I created a wildcard subdomain. All works fine.
ToDo:
I want to create wildcard domains for both "alias-domains".
Problem:
It is not possible to create wildcard subdomains for both "alias-domains".
1. How to create wildcard-subdomains on "alias-domains"?
2. How do I disable Plesk to respond to every domain, which isnt covered by a wildcard?
View 6 Replies
View Related
Jan 17, 2015
Adding simple subdomain in plesk panel hosted on windows 2012, but browsing the subdomain returning:
This page can’t be displayed....
View 4 Replies
View Related
Apr 7, 2015
Plesk 12.0.18 Update #38
Cloudlinux 6.6
Outgoing mail control functions properly for domains, but it does not count or limit subdomains.
For example, if you have a subdomain like:
sub.domain.tld
And an email account on that subdomain, like:
info@sub.domain.tld
Then outgoing mail limits are not applied to that subscription/domain/mail account. You are able to send more emails than the limit.
Also, if you go to:
-> Tools and Settings
-> Outgoing mail control
And try to see statistics for that subscription/domain/mail account, it shows that there are not sent emails, even if you have sent emails. Of course I checked it many hours after sending, or even the next days.
View 2 Replies
View Related
Jan 23, 2015
Up until a week ago we had some troubles with package dependencies on our dedicated server running on Ubuntu 14.04.1. Plesk was totally out of reach, displaying 502 Bad Gateway pages and some other weird error on login_up.php3.
I fixed the dependencies by removing a lot of packages (including Plesk) and finally managed to reinstall Plesk using the autoinstaller, then repaired it using "/usr/local/psa/bootstrapper/pp12.0.18-bootstrapper/bootstrapper.sh" (IIRC this whole bootstrapper folder was not present before reinstallation).
Now, after restoring our data from a backup pretty much everything works except for the subdomains. They all redirect to the primary domain's vhost (307 Redirect) for some reason.
"/var/log/apache2/access.log" shows the following after issuing a HTTP request to any subdomain:
Code:
<ip> - - [23/Jan/2015:23:15:31 +0100] "GET / HTTP/1.1" 307 244 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"
<ip> - - [23/Jan/2015:23:15:31 +0100] "GET / HTTP/1.1" 200 13397 "-" "Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0"
I have tried enabling and disabling nginx, it did not work. Then I just kept it disabled because it makes our forum think that everyone has the server's IP (because of the reverse proxy thing I assume).
Oh, and I should say: using HTTPS anywhere just gets me a 502 Bad Gateway error.
View 7 Replies
View Related
Apr 13, 2009
Is there anything that takes the concept of a CDN (localised content delivery), but applies it to dynamic stuff like PHP and databases, syncing across worldwide servers as necessary? It'd be nice to deliver the entire site in a localised manner.
I'd imagine Google does something like this for their own sites, and maybe other large companies too — but I have no idea if such a technology exists in the consumer space.
I can see it being a logistical nightmare having to keep all versions of the database in sync, so it wouldn't surprise me if nothing like this exists.
View 3 Replies
View Related
Mar 4, 2009
I'm developing a PHP application which will be hosted on IIS7 and I'm interested to see if it is possible to get dynamic caching working when using an MVC pattern (I'm currently using the Zend Framework and it's Frontcontroller implementation).
View 0 Replies
View Related
May 18, 2007
I received this error msg for my Plesk account
Cannot log into Webmail. It shows error: "Your Internet Address has changed since the beginning of your Mail session. To protect your security, you must login again."
The solution is given by
[url]
But the host that I was using in the USA refuse to implement it saying it will endanger the server. Is it true? But most of us are using dynamic IPs ADSL, this restriction will affect all, wont it?
View 3 Replies
View Related
Feb 9, 2006
I need to forward some dynamic URL's So for example:
mysite.com?product=1
needs to be directoed to
mysite.com/1.htm
How can I do this in .htaccess?
View 1 Replies
View Related
Sep 4, 2008
A casual reader of WHT would observe that there is no perfect hosting company. They will all at one time or another have either a performance issue or an outright outage.
I think there is a simple way to address this problem: upon detecting a failure route traffic to a secondary location. This is done typically through Dynamic DNS.
There a lot of monitoring companies out there and most of them - if not all - limit their function to sending out an alert. Well, that's not good enough for an HA solution.
There needs to be a way to take actual automated remedy action upon failure detection.
I think the simplest possible action would be to update IP address of a host with a backup IP through dynamic DNS. My question then is: does any one know of a monitoring service that would support this?
If you think of a cost of adding another hosting account through a backup provider especially if they both use cPanel, its minimal. And yet you would have a HA solution that enterprise customers spend millions on.
View 14 Replies
View Related
Apr 9, 2008
I have a problem with a site that I'm hosting on a managed dedicated server - I'll try to explain this as simply as possible!
From my office I seem to have a problem viewing dynamic pages on the site.
- The HTML index page loads fine
- Internal dynamic PHP pages throw up 404s
- Other PHP pages/sites on the same server are fine
- The pages load fine using a proxy browser
- I've cleared my cache which made no difference
- From other locations (home) I have never had the problem
I'm obviously worried that I'm not the only person having these problems.
The fact that the site loads fine through a proxy indicates that there's not a problem with the server,
However I'm confused that it's not a local problem as the HTML pages shouldn't be loading either right?
View 1 Replies
View Related
Oct 3, 2007
I've got an application (java web ) tha dynamically creats images ( with dynamic url - ...tab&vi=nia&h=24&ds=bottom&fn...) - like thumbnails,icons ect.
The think I'm trying to deal with is to force caching theese images by a browser.
When the application starts the server gets images and shows code 200 ( and this images apppers in web browser cache), but after reloding or simply viewing the images from the cache url the server shows again code 200. I'd like to have code 304 - not modified - like when browser gets an image from cache.
The dynamic url for image is being created only once - when the appication starts, and after that it stays unchanged, but I still can't force use the cached images - like when it is a static url - .../image.jpg.
View 10 Replies
View Related
Jul 10, 2013
For some reason I have some old urls which just don't want to rewrite. I have lots of others working fine but I think it may be to do with the symbols in these paths which are stopping it from working. Ideally these should be 301'd.
I need view.asp?filter=category%20name to go to category-name
View 3 Replies
View Related
Feb 22, 2008
Many ISPs assign dynamic IP addresses and I'm wondering if the following will be a problem for my site if it for example had 5 million all-time unique users:
So if someone new comes to my site with an IP that has already been in use by someone else who visited my site, that user will use the same databases with the previous user and won’t even be considered a unique in user.
Do dynamic ISP given IPs work so that someone else gets that IP once you release it?
View 5 Replies
View Related
Sep 19, 2008
Currently I have my site hosted on a box at home, and using JIP to autoupdate the dynamic ip through zoneedit.
What am I am looking to do is to move my site to a hosted company, and keep my exhange server at home, having the dynamic ip updated through zoneedit, or other.
I have been poking around in zoneedit, and searching the web, but don't seem to be able to work it all out. (the autoupdater, JIP, wants to change the site ip at the same time)
View 2 Replies
View Related
Jul 18, 2008
I have a weird issue with my Plesk VPS. If I restart the VPS it will work find for about 20 minutes and then go down. All my websites will continue to load and load until they time out.
The weird thing is, I can still access everything. FTP, Plesk, SSH. Just no my websites.
Here is the last error I receive before it continues to load:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
Here are the last few errors in my log:
[Thu Jul 17 19:51:59 2008] [notice] suEXEC mechanism enabled (wrapper: /usr/sbin/suexec)
[Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jul 17 19:51:59 2008] [notice] Digest: generating secret for digest authentication ...
[Thu Jul 17 19:51:59 2008] [notice] Digest: done
[Thu Jul 17 19:51:59 2008] [notice] LDAP: Built with OpenLDAP LDAP SDK
[Thu Jul 17 19:51:59 2008] [notice] LDAP: SSL support unavailable
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php/modules/pgsql.so' - libpq.so.4: cannot open shared object file: No such file or directory in Unknown on line 0
[Thu Jul 17 19:51:59 2008] [notice] mod_python: Creating 4 session mutexes based on 128 max processes and 0 max threads.
[Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does NOT match server name!?
[Thu Jul 17 19:51:59 2008] [warn] RSA server certificate CommonName (CN) `plesk' does
NOT match server name!
View 6 Replies
View Related
Mar 6, 2007
I'm trying to compile PHP 5.2.1 on my Ubuntu 6.10 server. I've downloaded the source code from php.net and am running the following configure command on it:
Code:
./configure --with-apxs2=/usr/bin/apxs2 --with-mysql --with-informix=/opt/informix --enable-shared --enable-pdo=shared --without-sqlite --without-pdo-sqlite --with-pdo-mysql=shared --with-zlib --with-xml --with-pdo-informix=shared,/opt/informix
After doing this, then make, I copy over the generated libphp5.so file into my Apache extensions directory, add extension=pdo.so (and lines for the PDO-MySQL/Informix extensions) into my php.ini and restart Apache. I would expect to see PDO, PDO-MySQL and PDO-Informix listed in my phpinfo() - but they don't appear.
So, I tried recompiling PHP but without any of the PDO extensions being shared. This worked, and I could see PDO and PDO-MySQL in phpinfo(), but not PDO-Informix.
So, can anyone hazard a guess as to why none of the PDO extensions load when compiled shared? I don't get any related error messages in the Apache or System logs by the way....
View 0 Replies
View Related
Sep 12, 2008
If I wanted to host my website from home is there a solution to having a Dynamic IP issued by the internet company ?
View 6 Replies
View Related
Nov 14, 2013
I transferred my WordPress site to static HTML website, but some other website have a link to my old WordPress site URL....
I want to redirect all traffic from that URL to new URL which is URL...., but my redirect in .htaccess file doesn't work (Redirect 301 /?page_id=1234 URL... because of the query string."mod_rewrite" to create the right code in .htaccess file.
View 1 Replies
View Related
Mar 15, 2013
how can I rewrite a dynamic image url? URL....
View 3 Replies
View Related
Mar 1, 2013
I have been trying to install apache server on a windows pc which will deliver adobe HDS content. there is a specific tutorial for this in the adobe site, can be found here. I have been following it to the word, but when I try to start apache after asking it to load new modules (mod_f4fhttp), it returns me an error saying that the file is not readable/not found. I have installed the proper visual c++ libraries and also checked the permissions and spellings. This seems to be a common error with php modules in apache, but none of the solutions seems to work.
View 1 Replies
View Related