website importing
 
Notifications
Clear all

website importing

4 Posts
3 Users
0 Reactions
1,815 Views
Posts: 16
Topic starter
(@infogarnet-ca)
Active Member
Joined: 6 years ago

Hello,

Just installed a fresh solidcp. Everything works fine, including exchange.

I have a question.. When importing a website into a customer, it imports successfully, but it also creates a top level domain (in domains), with the website header.

For example, if I import website "accounting.bigcompany.com", then I also have the domain "accounting.bigcompany.com" created in domains as a "top-level domain". So instead of having 20-30 domains here, I ended up with 200+, all top level, but without DNS. I already have the domain "bigcompany.com" in domains, DNS managed.

Obviously, I'd like it to just import the website, without creating any domains.

Any ideas?

3 Replies
Posts: 1967
Admin
(@m-tiggelaar)
Noble Member
Joined: 9 years ago

Hello,

SolidCP will always need a domain (with or without dns) created.

It's the same as when you create a new website via SolidCP.

Normally if you have a top level domain and many subdomains (spread over different customers) you can add the top level domain to a reseller user or similar and check "Allow customer to create subdomain"

Regards,

Marco

Reply
Posts: 16
Topic starter
(@infogarnet-ca)
Active Member
Joined: 6 years ago

Nothing is spread across clients.

There is only 1 client. domain.com is DNS hosted under this client. The following happens:

  1. If I create a website web1.domain.com in solidCP - no domain is added to "domains". Only an A record under domain.com; Correct behaviour.
  2. If I import web2.domain.com - a domain is created in solidCP, under this client, with DNS disabled - "web2.domain.com". INSTEAD of an A record, like in scenario 1.

It's the same thing, with different behaviour, and I think scenario 2 is wrong. A website with a pointer shouldn't show up in the domain list.

I had to go into the database and convert the erroneous domain to "isWebsitePointer" to "True" to make it disappear from the domain list in solidCP. This is what happens when I create a website in solidCP, and this is what should happen when you import an existing database.

I think the website importing tool puts the wrong values in the database, under domain. Instead of marking it as a domain pointer, it makes it a regular domain.

Reply
Posts: 70
(@dolphyn5)
Estimable Member
Joined: 8 years ago

I don't think either way is "wrong" but in general I would prefer the less cluttered approach, especially for someone who uses a lot of subdomain websites.

Perhaps the system should give a choice of doing it either way.

Reply
Share: